Merge pull request #130070 from LeSuisse/cosign-0.6.0

cosign: 0.5.0 -> 0.6.0
This commit is contained in:
Sandro 2021-07-13 22:22:00 +02:00 committed by GitHub
commit 0b1494e11a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";