summary refs log tree commit diff
path: root/pkgs/tools/security/cosign
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2021-03-27 18:20:18 +0100
committerThomas Gerbet <thomas@gerbet.me>2021-03-27 18:31:13 +0100
commit48e14cf92afdfd8b29c6ae7c1f689151a580feb2 (patch)
tree4e313e50623485c415df104c756e20a6a865606a /pkgs/tools/security/cosign
parentf615c23325e13a54ba18cdfabd1eaf7ace0b0741 (diff)
downloadnixpkgs-48e14cf92afdfd8b29c6ae7c1f689151a580feb2.tar
nixpkgs-48e14cf92afdfd8b29c6ae7c1f689151a580feb2.tar.gz
nixpkgs-48e14cf92afdfd8b29c6ae7c1f689151a580feb2.tar.bz2
nixpkgs-48e14cf92afdfd8b29c6ae7c1f689151a580feb2.tar.lz
nixpkgs-48e14cf92afdfd8b29c6ae7c1f689151a580feb2.tar.xz
nixpkgs-48e14cf92afdfd8b29c6ae7c1f689151a580feb2.tar.zst
nixpkgs-48e14cf92afdfd8b29c6ae7c1f689151a580feb2.zip
cosign: init at 0.1.0
Diffstat (limited to 'pkgs/tools/security/cosign')
-rw-r--r--pkgs/tools/security/cosign/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/security/cosign/default.nix b/pkgs/tools/security/cosign/default.nix
new file mode 100644
index 00000000000..a49123aded2
--- /dev/null
+++ b/pkgs/tools/security/cosign/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "cosign";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "sigstore";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0rgq29vi0h378j0bqs53gjgp246rqxfpk6rwskzrmawgry0zr8pk";
+  };
+
+  vendorSha256 = "0pcp3wdvwq06ajdfbgadyq0ipfj65n276hj88p5v6wqfn821ahd6";
+
+  subPackages = [ "cmd/cosign" ];
+
+  meta = with lib; {
+    homepage = "https://github.com/sigstore/cosign";
+    changelog = "https://github.com/sigstore/cosign/releases/tag/v${version}";
+    description = "Container Signing CLI with support for ephemeral keys and Sigstore signing";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ lesuisse ];
+  };
+}