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:
commit
2f32d65644
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue