File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
pkgs/by-name/ha/har-to-k6 Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments