cosign: 1.2.0 -> 1.2.1

https://github.com/sigstore/cosign/releases/tag/v1.2.1

`cosign version` outputs its version again.
This commit is contained in:
Thomas Gerbet 2021-09-21 08:36:55 +02:00
parent 69a9d335f6
commit 76a7ec237a

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "cosign"; pname = "cosign";
version = "1.2.0"; version = "1.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sigstore"; owner = "sigstore";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KiXcAuww0dZ78ilRp7j0JX6VAbOvmfd9h+LrOjrKaJo="; sha256 = "sha256-peR/TPydR4O6kGkRUpOgUCJ7xGRLbl9pYB1lAehjVK4=";
}; };
buildInputs = buildInputs =
@ -17,13 +17,13 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
vendorSha256 = "sha256-yrUfSRCwoxoH2sM5KuApaIj7YF7SPXx9vTlXS+pA5CY="; vendorSha256 = "sha256-DyRMQ43BJOkDtWEqmAzqICyaSyQJ9H4i69VJ4dCGF44=";
excludedPackages = "\\(copasetic\\|sample\\|webhook\\)"; excludedPackages = "\\(copasetic\\|sample\\|webhook\\)";
tags = lib.optionals pivKeySupport [ "pivkey" ]; tags = lib.optionals pivKeySupport [ "pivkey" ];
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; { meta = with lib; {
homepage = "https://github.com/sigstore/cosign"; homepage = "https://github.com/sigstore/cosign";