cosign: 0.5.0 -> 0.6.0

https://github.com/sigstore/cosign/releases/tag/v0.6.0
This commit is contained in:
Thomas Gerbet 2021-07-13 08:47:28 +02:00
parent cfc749e5b4
commit 4112eb273e

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "cosign";
version = "0.5.0";
version = "0.6.0";
src = fetchFromGitHub {
owner = "sigstore";
repo = pname;
rev = "v${version}";
sha256 = "0g60qwdxk6pmkzj0zz9iyc8b0bzh751fj2yyz0vilkgcjq47xjk8";
sha256 = "1h0lhbcrynaiwpgpkcn10yrn90j03g00w9hr2lvsj3cwmdbz0rcz";
};
buildInputs =
@ -17,13 +17,11 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config ];
vendorSha256 = "0agmnl5d00hm854sj1iipng36pf7hcc26iwcmpcr1rsmc7v522z4";
vendorSha256 = "0f3al6ds0kqyv2fapgdg9i38rfx6h169pmj6az0sfnkh2psq73ia";
subPackages = [ "cmd/cosign" ];
preBuild = ''
buildFlagsArray+=("-ldflags" "-s -w -X github.com/sigstore/cosign/cmd/cosign/cli.gitVersion=v${version}")
'';
ldflags = [ "-s" "-w" "-X github.com/sigstore/cosign/cmd/cosign/cli.gitVersion=v${version}"];
meta = with lib; {
homepage = "https://github.com/sigstore/cosign";