File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
pkgs/by-name/js/jsonschema Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 77
88buildGoModule rec {
99 pname = "jsonschema" ;
10- version = "5.3.1 " ;
10+ version = "0.7.0 " ;
1111
1212 src = fetchFromGitHub {
1313 owner = "santhosh-tekuri" ;
1414 repo = "jsonschema" ;
15- tag = "v${ version } " ;
16- hash = "sha256-ANo9OkdNVCjV5uEqr9lNNbStquNb/3oxuTfMqE2nUzo =" ;
15+ tag = "cmd/jv/ v${ version } " ;
16+ hash = "sha256-bMDDji5daBmjSeGxeS4PZfmTg+b8OVHsP8+m3jtpQJc =" ;
1717 } ;
1818
1919 sourceRoot = "${ src . name } /cmd/jv" ;
20- passthru . updateScript = nix-update-script { } ;
20+ env . GOWORK = "off" ;
21+ passthru . updateScript = nix-update-script {
22+ extraArgs = [ "--version-regex=cmd/jv/v([\\ d\\ .]+)" ] ;
23+ } ;
2124
22- vendorHash = "sha256-FuUkC7iwn/jO3fHjT9nGUXc2X1QuuxPc8DAzVpzhANk =" ;
25+ vendorHash = "sha256-s7kEdA4yuExuzwN3hHgeZmtkES3Zw1SALoEHSNtdAww =" ;
2326
2427 ldflags = [
2528 "-s"
@@ -29,7 +32,7 @@ buildGoModule rec {
2932 meta = {
3033 description = "JSON schema compilation and validation" ;
3134 homepage = "https://github.com/santhosh-tekuri/jsonschema" ;
32- changelog = "https://github.com/santhosh-tekuri/jsonschema/releases/tag/v ${ version } " ;
35+ changelog = "https://github.com/santhosh-tekuri/jsonschema/releases/tag/${ src . tag } " ;
3336 license = lib . licenses . asl20 ;
3437 mainProgram = "jv" ;
3538 maintainers = with lib . maintainers ; [ ibizaman ] ;
You can’t perform that action at this time.
0 commit comments