Merge pull request #55809 from zaninime/kustomize

kustomize: 1.0.11 -> 2.0.1
This commit is contained in:
Jaka Hudoklin 2019-02-15 19:50:12 +01:00 committed by GitHub
commit 1775f6c393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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