Merge pull request #55809 from zaninime/kustomize
kustomize: 1.0.11 -> 2.0.1
This commit is contained in:
commit
1775f6c393
@ -1,23 +1,22 @@
|
|||||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
|
||||||
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "kustomize-${version}";
|
name = "kustomize-${version}";
|
||||||
version = "1.0.11";
|
version = "2.0.1";
|
||||||
# rev is the 1.0.11 commit, mainly for kustomize version command output
|
# rev is the 2.0.1 commit, mainly for kustomize version command output
|
||||||
rev = "8f701a00417a812558a7b785e8354957afa469ae";
|
rev = "ce7e5ee2c30cc5856fea01fe423cf167f2a2d0c3";
|
||||||
|
|
||||||
goPackagePath = "sigs.k8s.io/kustomize";
|
goPackagePath = "sigs.k8s.io/kustomize";
|
||||||
|
|
||||||
buildFlagsArray = let t = "${goPackagePath}/pkg/commands"; in ''
|
buildFlagsArray = let t = "${goPackagePath}/pkg/commands/misc"; in ''
|
||||||
-ldflags=
|
-ldflags=
|
||||||
-s -X ${t}.kustomizeVersion=${version}
|
-s -X ${t}.kustomizeVersion=${version}
|
||||||
-X ${t}.gitCommit=${rev}
|
-X ${t}.gitCommit=${rev}
|
||||||
-X ${t}.buildDate=unknow
|
-X ${t}.buildDate=unknown
|
||||||
'';
|
'';
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
sha256 = "18kc23l6r2di35md9jbinyzxr791vvdjyklaf3k725imqksikwri";
|
sha256 = "1ljllx2gd329lnq6mdsgh8zzr517ji80b0j21pgr23y0xmd43ijf";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
repo = "kustomize";
|
repo = "kustomize";
|
||||||
owner = "kubernetes-sigs";
|
owner = "kubernetes-sigs";
|
||||||
@ -32,6 +31,6 @@ buildGoPackage rec {
|
|||||||
'';
|
'';
|
||||||
homepage = https://github.com/kubernetes-sigs/kustomize;
|
homepage = https://github.com/kubernetes-sigs/kustomize;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ carlosdagos vdemeester periklis ];
|
maintainers = with maintainers; [ carlosdagos vdemeester periklis zaninime ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user