forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This binary was provided by the `cosign` package until now but it is in the process of being removed, see sigstore/cosign#2019 Since it might be removed during the 22.11 cycle we drop it preventively. This will make possible security backports easier if we need them.
- Loading branch information
Showing
5 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles }: | ||
|
||
buildGoModule rec { | ||
pname = "sget"; | ||
version = "unstable-2022-10-04"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "sigstore"; | ||
repo = pname; | ||
rev = "d7d1e53b21ca906000e74474729854cb5ac48dbc"; | ||
sha256 = "sha256-BgxTlLmtKqtDq3HgLoH+j0vBrpRujmL9Wr8F4d+jPi0="; | ||
}; | ||
|
||
nativeBuildInputs = [ installShellFiles ]; | ||
|
||
vendorSha256 = "sha256-KPQHS7Hfco1ljOJgStIXMaol7j4dglcr0w+6Boj7GK8="; | ||
|
||
ldflags = [ "-s" "-w" ]; | ||
|
||
postInstall = '' | ||
installShellCompletion --cmd sget \ | ||
--bash <($out/bin/sget completion bash) \ | ||
--fish <($out/bin/sget completion fish) \ | ||
--zsh <($out/bin/sget completion zsh) | ||
''; | ||
|
||
meta = with lib; { | ||
homepage = "https://github.com/sigstore/sget"; | ||
description = "Command for safer, automatic verification of signatures and integration with Sigstore's binary transparency log, Rekor"; | ||
license = licenses.asl20; | ||
maintainers = with maintainers; [ lesuisse ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters