mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #226754 from aaronjheng/go-jsonnet
go-jsonnet: 0.19.1 -> 0.20.0
This commit is contained in:
commit
62d678778d
@ -1,26 +1,18 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, testers, go-jsonnet }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, testers, go-jsonnet }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-jsonnet";
|
||||
version = "0.19.1";
|
||||
version = "0.20.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FgQYnas0qkIedRAA8ApZXLzEylg6PS6+8zzl7j+yOeI=";
|
||||
hash = "sha256-P69tguBrFF/CSCOfHjCfBT5710oJdhZDh3kMCbc32eE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-j1fTOUpLx34TgzW94A/BctLrg9XoTtb3cBizhVJoEEI=";
|
||||
|
||||
patches = [
|
||||
# See https://github.com/google/go-jsonnet/issues/653.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/google/go-jsonnet/commit/5712f2ed2c8dfa685e4f1234eefc7690a580af6f.patch";
|
||||
hash = "sha256-/+6BlAaul4FoD7pq7yAy1xG78apEBuH2LC4fsfbugFQ=";
|
||||
})
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/jsonnet*" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
|
Loading…
Reference in New Issue
Block a user