go-jsonnet: 0.18.0 -> 0.19.1
This commit is contained in:
parent
5561dcbe94
commit
b2cf4eb0d5
|
@ -1,37 +1,30 @@
|
||||||
{ lib
|
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, testers, go-jsonnet }:
|
||||||
, buildGoModule
|
|
||||||
, fetchFromGitHub
|
|
||||||
, fetchpatch
|
|
||||||
, testers
|
|
||||||
}:
|
|
||||||
|
|
||||||
let self = buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "go-jsonnet";
|
pname = "go-jsonnet";
|
||||||
version = "0.18.0";
|
version = "0.19.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-o/IjXskGaMhvQmTsAS745anGBMI2bwHf/EOEp57H8LU=";
|
hash = "sha256-FgQYnas0qkIedRAA8ApZXLzEylg6PS6+8zzl7j+yOeI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-j1fTOUpLx34TgzW94A/BctLrg9XoTtb3cBizhVJoEEI=";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# See https://github.com/google/go-jsonnet/issues/653.
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "update-x-sys-for-go-1.18-on-aarch64-darwin.patch";
|
url = "https://github.com/google/go-jsonnet/commit/5712f2ed2c8dfa685e4f1234eefc7690a580af6f.patch";
|
||||||
url = "https://github.com/google/go-jsonnet/commit/7032dd729f7e684dcfb2574f4fe99499165ef9cb.patch";
|
hash = "sha256-/+6BlAaul4FoD7pq7yAy1xG78apEBuH2LC4fsfbugFQ=";
|
||||||
hash = "sha256-emUcuE9Q4qkXFXLyLvLHjzrKAaQhjcSWLNafABvHxhM=";
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
vendorHash = "sha256-H4vLVXpuPkECB15LHoS9N9IwUD7Fzccshwbo5hjeXXc=";
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
subPackages = [ "cmd/jsonnet*" ];
|
subPackages = [ "cmd/jsonnet*" ];
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = self;
|
package = go-jsonnet;
|
||||||
version = "v${version}";
|
version = "v${version}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -42,5 +35,4 @@ let self = buildGoModule rec {
|
||||||
maintainers = with maintainers; [ nshalman aaronjheng ];
|
maintainers = with maintainers; [ nshalman aaronjheng ];
|
||||||
mainProgram = "jsonnet";
|
mainProgram = "jsonnet";
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
in self
|
|
||||||
|
|
Loading…
Reference in a new issue