cosign: 1.3.1 -> 1.4.0

https://github.com/sigstore/cosign/releases/tag/v1.4.0
This commit is contained in:
Thomas Gerbet 2021-12-07 08:15:49 +01:00 committed by zowoq
parent dabc9af4f0
commit 706c8c5e12

View file

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "cosign";
version = "1.3.1";
version = "1.4.0";
src = fetchFromGitHub {
owner = "sigstore";
repo = pname;
rev = "v${version}";
sha256 = "sha256-K9ZORbccEH7KV0XHkio/fl/5kvUInRCvzFY4QOqrgfg=";
sha256 = "sha256-KavhcBxn0099ZSd7wdIfMYnYhbmuRpc7+FTfdm1T71c=";
};
buildInputs = lib.optional (stdenv.isLinux && pivKeySupport) (lib.getDev pcsclite)
@ -16,7 +16,7 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config installShellFiles ];
vendorSha256 = "sha256-958HDdd9o+paEHVvwWSFJGSIHuY63jf89rTw3QKJzxc=";
vendorSha256 = "sha256-7fWSGj8Ex8nPpMr3Foryiu25gBvzeZfVeMwZ3QKsm8E=";
excludedPackages = "\\(sample\\|webhook\\|help\\)";
@ -29,6 +29,10 @@ buildGoModule rec {
--bash <($out/bin/cosign completion bash) \
--fish <($out/bin/cosign completion fish) \
--zsh <($out/bin/cosign completion zsh)
installShellCompletion --cmd sget \
--bash <($out/bin/sget completion bash) \
--fish <($out/bin/sget completion fish) \
--zsh <($out/bin/sget completion zsh)
'';
meta = with lib; {