summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/security/certstrap
diff options
context:
space:
mode:
authorVolth <volth@webmaster.ms>2017-06-28 21:15:16 +0000
committerVolth <volth@webmaster.ms>2017-06-28 21:16:38 +0000
commit8797e3edd28a917d6a62cf3f9a10d5a35a85ab0f (patch)
tree580b01547949e00c640b6f40df490404a34c4ee5 /pkgs/tools/security/certstrap
parentcc63c5d32ccca412d6af77eeb69c4af5490755f0 (diff)
certstrap: init at 1.0.1
Diffstat (limited to 'pkgs/tools/security/certstrap')
-rw-r--r--pkgs/tools/security/certstrap/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/security/certstrap/default.nix b/pkgs/tools/security/certstrap/default.nix
new file mode 100644
index 000000000000..bf659f19e9be
--- /dev/null
+++ b/pkgs/tools/security/certstrap/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+ name = "certstrap-${version}";
+ version = "1.0.1";
+
+ goPackagePath = "github.com/square/certstrap";
+
+ src = fetchFromGitHub {
+ owner = "square";
+ repo = "certstrap";
+ rev = "v${version}";
+ sha256 = "0pw1g6nyb212ayic42rkm6i0cf4n2003f02qym6zp130m6aysb47";
+ };
+
+ meta = with stdenv.lib; {
+ inherit (src.meta) homepage;
+ description = "Tools to bootstrap CAs, certificate requests, and signed certificates";
+ platforms = platforms.all;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ volth ];
+ };
+}