fulcio: 0.1.0 -> 0.1.1
https://github.com/sigstore/fulcio/releases/tag/v0.1.1 The binary has been renamed from `fulcio` to `fulcio-server` to match what's given in the `--help` page.
This commit is contained in:
parent
b63a54f81c
commit
e8ef8a0bc7
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "fulcio";
|
pname = "fulcio";
|
||||||
version = "0.1.0";
|
version = "0.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sigstore";
|
owner = "sigstore";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "sha256-+HWzhg+LTKpr9VJ9mzQghwOuGgp3EBb4/zltaqp0zHw=";
|
sha256 = "sha256-MvLQMGPyJYqYUljLqsr+qJeeYnxdH9aNGkWpDRvOeh8=";
|
||||||
};
|
};
|
||||||
vendorSha256 = "sha256-1tR1vUm5eFBS93kELQoKWEyFlfMF28GBI8VEHxTyeM4=";
|
vendorSha256 = "sha256-pRL0et+UOi/tzuQz/Q7UmSA+pVhLJYR8lG8NAbPN9PU=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
@ -18,22 +18,23 @@ buildGoModule rec {
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd fulcio \
|
mv $out/bin/fulcio $out/bin/fulcio-server
|
||||||
--bash <($out/bin/fulcio completion bash) \
|
installShellCompletion --cmd fulcio-server \
|
||||||
--fish <($out/bin/fulcio completion fish) \
|
--bash <($out/bin/fulcio-server completion bash) \
|
||||||
--zsh <($out/bin/fulcio completion zsh)
|
--fish <($out/bin/fulcio-server completion fish) \
|
||||||
|
--zsh <($out/bin/fulcio-server completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
runHook preInstallCheck
|
runHook preInstallCheck
|
||||||
$out/bin/fulcio --help
|
$out/bin/fulcio-server --help
|
||||||
runHook postInstallCheck
|
runHook postInstallCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/sigstore/fulcio";
|
homepage = "https://github.com/sigstore/fulcio";
|
||||||
changelog = "https://github.com/sigstore/fulcio/releases/tag/${version}";
|
changelog = "https://github.com/sigstore/fulcio/releases/tag/v${version}";
|
||||||
description = "A Root-CA for code signing certs - issuing certificates based on an OIDC email address";
|
description = "A Root-CA for code signing certs - issuing certificates based on an OIDC email address";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ lesuisse jk ];
|
maintainers = with maintainers; [ lesuisse jk ];
|
||||||
|
|
Loading…
Reference in a new issue