summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-07-27 09:04:46 +0000
committerGitHub <noreply@github.com>2021-07-27 09:04:46 +0000
commitb6c1b33ef7be8cdf8a96ec233d1f431928f36df4 (patch)
tree781f5c79ca87fb63c74e58dde2b5406a1fdb3b27 /pkgs
parent17da99e6a72994655ddd0f858bc030bf8e4dab86 (diff)
parente8ef8a0bc71116085c2f57990751d5953b952fa3 (diff)
downloadnixpkgs-b6c1b33ef7be8cdf8a96ec233d1f431928f36df4.tar
nixpkgs-b6c1b33ef7be8cdf8a96ec233d1f431928f36df4.tar.gz
nixpkgs-b6c1b33ef7be8cdf8a96ec233d1f431928f36df4.tar.bz2
nixpkgs-b6c1b33ef7be8cdf8a96ec233d1f431928f36df4.tar.lz
nixpkgs-b6c1b33ef7be8cdf8a96ec233d1f431928f36df4.tar.xz
nixpkgs-b6c1b33ef7be8cdf8a96ec233d1f431928f36df4.tar.zst
nixpkgs-b6c1b33ef7be8cdf8a96ec233d1f431928f36df4.zip
Merge pull request #131654 from LeSuisse/fulcio-0.1.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/security/fulcio/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/tools/security/fulcio/default.nix b/pkgs/tools/security/fulcio/default.nix
index 4539f10e50d..96ef86d18d1 100644
--- a/pkgs/tools/security/fulcio/default.nix
+++ b/pkgs/tools/security/fulcio/default.nix
@@ -2,15 +2,15 @@
 
 buildGoModule rec {
   pname = "fulcio";
-  version = "0.1.0";
+  version = "0.1.1";
 
   src = fetchFromGitHub {
     owner = "sigstore";
     repo = pname;
-    rev = version;
-    sha256 = "sha256-+HWzhg+LTKpr9VJ9mzQghwOuGgp3EBb4/zltaqp0zHw=";
+    rev = "v${version}";
+    sha256 = "sha256-MvLQMGPyJYqYUljLqsr+qJeeYnxdH9aNGkWpDRvOeh8=";
   };
-  vendorSha256 = "sha256-1tR1vUm5eFBS93kELQoKWEyFlfMF28GBI8VEHxTyeM4=";
+  vendorSha256 = "sha256-pRL0et+UOi/tzuQz/Q7UmSA+pVhLJYR8lG8NAbPN9PU=";
 
   ldflags = [ "-s" "-w" ];
 
@@ -18,22 +18,23 @@ buildGoModule rec {
   nativeBuildInputs = [ installShellFiles ];
 
   postInstall = ''
-    installShellCompletion --cmd fulcio \
-      --bash <($out/bin/fulcio completion bash) \
-      --fish <($out/bin/fulcio completion fish) \
-      --zsh <($out/bin/fulcio completion zsh)
+    mv $out/bin/fulcio $out/bin/fulcio-server
+    installShellCompletion --cmd fulcio-server \
+      --bash <($out/bin/fulcio-server completion bash) \
+      --fish <($out/bin/fulcio-server completion fish) \
+      --zsh <($out/bin/fulcio-server completion zsh)
   '';
 
   doInstallCheck = true;
   installCheckPhase = ''
     runHook preInstallCheck
-    $out/bin/fulcio --help
+    $out/bin/fulcio-server --help
     runHook postInstallCheck
   '';
 
   meta = with lib; {
     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";
     license = licenses.asl20;
     maintainers = with maintainers; [ lesuisse jk ];