summary refs log tree commit diff
path: root/pkgs/tools/security/cosign/default.nix
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2021-09-21 08:36:55 +0200
committerThomas Gerbet <thomas@gerbet.me>2021-09-21 11:09:48 +0200
commit76a7ec237ace2b3884a5fa3391dae0ce159626e8 (patch)
treed4345624078da9391501f3fe60ff44947a6cc28b /pkgs/tools/security/cosign/default.nix
parent69a9d335f633ef221327821089877c98004b70bc (diff)
downloadnixpkgs-76a7ec237ace2b3884a5fa3391dae0ce159626e8.tar
nixpkgs-76a7ec237ace2b3884a5fa3391dae0ce159626e8.tar.gz
nixpkgs-76a7ec237ace2b3884a5fa3391dae0ce159626e8.tar.bz2
nixpkgs-76a7ec237ace2b3884a5fa3391dae0ce159626e8.tar.lz
nixpkgs-76a7ec237ace2b3884a5fa3391dae0ce159626e8.tar.xz
nixpkgs-76a7ec237ace2b3884a5fa3391dae0ce159626e8.tar.zst
nixpkgs-76a7ec237ace2b3884a5fa3391dae0ce159626e8.zip
cosign: 1.2.0 -> 1.2.1
https://github.com/sigstore/cosign/releases/tag/v1.2.1

`cosign version` outputs its version again.
Diffstat (limited to 'pkgs/tools/security/cosign/default.nix')
-rw-r--r--pkgs/tools/security/cosign/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/security/cosign/default.nix b/pkgs/tools/security/cosign/default.nix
index 329040a4dba..64e64e3854b 100644
--- a/pkgs/tools/security/cosign/default.nix
+++ b/pkgs/tools/security/cosign/default.nix
@@ -2,13 +2,13 @@
 
 buildGoModule rec {
   pname = "cosign";
-  version = "1.2.0";
+  version = "1.2.1";
 
   src = fetchFromGitHub {
     owner = "sigstore";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-KiXcAuww0dZ78ilRp7j0JX6VAbOvmfd9h+LrOjrKaJo=";
+    sha256 = "sha256-peR/TPydR4O6kGkRUpOgUCJ7xGRLbl9pYB1lAehjVK4=";
   };
 
   buildInputs =
@@ -17,13 +17,13 @@ buildGoModule rec {
 
   nativeBuildInputs = [ pkg-config ];
 
-  vendorSha256 = "sha256-yrUfSRCwoxoH2sM5KuApaIj7YF7SPXx9vTlXS+pA5CY=";
+  vendorSha256 = "sha256-DyRMQ43BJOkDtWEqmAzqICyaSyQJ9H4i69VJ4dCGF44=";
 
   excludedPackages = "\\(copasetic\\|sample\\|webhook\\)";
 
   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; {
     homepage = "https://github.com/sigstore/cosign";