3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #92085 from r-ryantm/auto-update/skaffold

skaffold: 1.11.0 -> 1.12.0
This commit is contained in:
Mario Rodas 2020-07-02 20:42:09 -05:00 committed by GitHub
commit 2f32d65644
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,17 +2,16 @@
buildGoPackage rec {
pname = "skaffold";
version = "1.11.0";
# rev is the ${version} commit, mainly for skaffold version command output
rev = "931a70a6334436735bfc4ff7633232dd5fc73cc1";
version = "1.12.0";
goPackagePath = "github.com/GoogleContainerTools/skaffold";
subPackages = ["cmd/skaffold"];
buildFlagsArray = let t = "${goPackagePath}/pkg/skaffold"; in ''
-ldflags=
-s -w
-X ${t}/version.version=v${version}
-X ${t}/version.gitCommit=${rev}
-X ${t}/version.gitCommit=${src.rev}
-X ${t}/version.buildDate=unknown
'';
@ -20,7 +19,7 @@ buildGoPackage rec {
owner = "GoogleContainerTools";
repo = "skaffold";
rev = "v${version}";
sha256 = "035xp34m8kzb75mivgf3kw026n2h6g2a7j2mi32nxl1a794w36zi";
sha256 = "12m2yqlngxvyyiqa58fmdwi752bz3mkk8fi312dvakr5kysnvn1l";
};
nativeBuildInputs = [ installShellFiles ];