mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
Merge pull request #92691 from jlesquembre/kustomize-3.8.0
kustomize: 3.3.1 -> 3.8.0
This commit is contained in:
commit
9fc4678a4a
@ -1,29 +1,30 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, tree }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kustomize";
|
||||
version = "3.3.1";
|
||||
# rev is the 3.3.1 commit, mainly for kustomize version command output
|
||||
rev = "f2ac5a2d0df13c047fb20cbc12ef1a3b41ce2dad";
|
||||
version = "3.8.0";
|
||||
# rev is the 3.8.0 commit, mainly for kustomize version command output
|
||||
rev = "6a50372dd5686df22750b0c729adaf369fbf193c";
|
||||
|
||||
buildFlagsArray = let t = "sigs.k8s.io/kustomize/v3/provenance"; in ''
|
||||
-ldflags=
|
||||
-s -X ${t}.version=${version}
|
||||
-X ${t}.gitCommit=${rev}
|
||||
-X ${t}.buildDate=unknown
|
||||
'';
|
||||
buildFlagsArray = let t = "sigs.k8s.io/kustomize/api/provenance"; in
|
||||
''
|
||||
-ldflags=
|
||||
-s -X ${t}.version=${version}
|
||||
-X ${t}.gitCommit=${rev}
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubernetes-sigs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0yxxz0b56r18w178y32s619zy8ci6l93c6vlzx11hhxhbw43f6v6";
|
||||
rev = "kustomize/v${version}";
|
||||
sha256 = "1v86gqn16xh28gi2fa6jgbbk0clrcng3sbr1az42iy4mm4nmsriy";
|
||||
};
|
||||
|
||||
# avoid finding test and development commands
|
||||
sourceRoot = "source/kustomize";
|
||||
|
||||
vendorSha256 = "06mf5zvxn10g5rqjpqv3afvhj9xmijbj8ag8pqcg1996s4rp4p7a";
|
||||
deleteVendor = true;
|
||||
vendorSha256 = "03z40gi9nrj120cd57pa3fmi8grldyxa65a1lkvlc2r3z9g29vdw";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Customization of kubernetes YAML configurations";
|
||||
@ -36,4 +37,4 @@ buildGoModule rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ carlosdagos vdemeester periklis zaninime ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user