summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-08-04 15:17:42 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-08-04 15:17:42 +0300
commit008fd5fcf5f45c6478ccd3d52ec923052eccb932 (patch)
tree14d454f88bd0f02fe550ba5b68d987573e8820fc /pkgs/tools/security
parent7a337cde318020a0f91702bfefee85a7b31be06f (diff)
parent20f1388c3fb7c1c56367fd96fd21cfd316f465b7 (diff)
downloadnixlib-008fd5fcf5f45c6478ccd3d52ec923052eccb932.tar
nixlib-008fd5fcf5f45c6478ccd3d52ec923052eccb932.tar.gz
nixlib-008fd5fcf5f45c6478ccd3d52ec923052eccb932.tar.bz2
nixlib-008fd5fcf5f45c6478ccd3d52ec923052eccb932.tar.lz
nixlib-008fd5fcf5f45c6478ccd3d52ec923052eccb932.tar.xz
nixlib-008fd5fcf5f45c6478ccd3d52ec923052eccb932.tar.zst
nixlib-008fd5fcf5f45c6478ccd3d52ec923052eccb932.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/certmgr/default.nix23
-rw-r--r--pkgs/tools/security/pius/default.nix4
2 files changed, 26 insertions, 1 deletions
diff --git a/pkgs/tools/security/certmgr/default.nix b/pkgs/tools/security/certmgr/default.nix
new file mode 100644
index 000000000000..fa3076e8b593
--- /dev/null
+++ b/pkgs/tools/security/certmgr/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  version = "1.6.1";
+  name = "certmgr-${version}";
+
+  goPackagePath = "github.com/cloudflare/certmgr/";
+
+  src = fetchFromGitHub {
+    owner = "cloudflare";
+    repo = "certmgr";
+    rev = "v${version}";
+    sha256 = "1ky2pw1wxrb2fxfygg50h0mid5l023x6xz9zj5754a023d01qqr2";
+  };
+
+  meta = with stdenv.lib; {
+    homepage = https://cfssl.org/;
+    description = "Cloudflare's certificate manager";
+    platforms = platforms.linux;
+    license = licenses.bsd2;
+    maintainers = with maintainers; [ johanot srhb ];
+  };
+}
diff --git a/pkgs/tools/security/pius/default.nix b/pkgs/tools/security/pius/default.nix
index f9dced33ed46..2a48bf2c2c6c 100644
--- a/pkgs/tools/security/pius/default.nix
+++ b/pkgs/tools/security/pius/default.nix
@@ -1,4 +1,4 @@
-{ fetchFromGitHub, stdenv, pythonPackages, gnupg }:
+{ fetchFromGitHub, stdenv, pythonPackages, gnupg, perl }:
 
 let version = "2.2.6"; in
 pythonPackages.buildPythonApplication {
@@ -18,6 +18,8 @@ pythonPackages.buildPythonApplication {
     done
   '';
 
+  buildInputs = [ perl ];
+
   meta = {
     homepage = https://www.phildev.net/pius/;