har-to-k6: init at 0.14.10 (#374901)

authored by Sandro and committed by GitHub d470c503 8bddce70

+39
+39
pkgs/by-name/ha/har-to-k6/package.nix
···
··· 1 + { 2 + lib, 3 + buildNpmPackage, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + versionCheckHook, 7 + }: 8 + 9 + buildNpmPackage rec { 10 + pname = "har-to-k6"; 11 + version = "0.14.10"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "grafana"; 15 + repo = "har-to-k6"; 16 + tag = "v${version}"; 17 + hash = "sha256-eBy5rBZt9v8XFOSGQPhJWAGy2XuhyuG013A6ex2AxE4="; 18 + }; 19 + 20 + dontNpmBuild = true; 21 + 22 + npmDepsHash = "sha256-RuK3CzcMkPt5MFEZpYBDtMMShHTT/115pRk1CmRkiek="; 23 + 24 + nativeInstallCheckInputs = [ versionCheckHook ]; 25 + versionCheckProgramArg = "--version"; 26 + doInstallCheck = true; 27 + 28 + passthru.updateScript = nix-update-script { }; 29 + 30 + meta = { 31 + description = "Converts LI-HAR and HAR to K6 script"; 32 + homepage = "https://github.com/grafana/har-to-k6"; 33 + changelog = "https://github.com/grafana/har-to-k6/releases/tag/v${version}"; 34 + license = lib.licenses.asl20; 35 + maintainers = with lib.maintainers; [ cterence ]; 36 + mainProgram = "har-to-k6"; 37 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 38 + }; 39 + }