about summary refs log tree commit diff
path: root/pkgs/tools/security/redwax-tool
diff options
context:
space:
mode:
authorAstro <astro@spaceboyz.net>2022-08-23 20:10:50 +0200
committerAstro <astro@spaceboyz.net>2022-08-23 20:10:50 +0200
commit639d4e610301baf25564e5db240d6fbfc02a988c (patch)
tree13d46661cb79fd359046f7dc4344182284d5969a /pkgs/tools/security/redwax-tool
parent58e0d95c3a80e29b657cfce1dbea182c13ae6451 (diff)
redwax-tool: init at 0.9.1
Diffstat (limited to 'pkgs/tools/security/redwax-tool')
-rw-r--r--pkgs/tools/security/redwax-tool/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/security/redwax-tool/default.nix b/pkgs/tools/security/redwax-tool/default.nix
new file mode 100644
index 0000000000000..af327cba948b9
--- /dev/null
+++ b/pkgs/tools/security/redwax-tool/default.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, fetchsvn
+, autoreconfHook, pkg-config, txt2man, which
+, openssl, apr, aprutil
+}:
+
+stdenv.mkDerivation rec {
+  pname = "redwax-tool";
+  version = "0.9.1";
+
+  src = fetchsvn {
+    url = "https://source.redwax.eu/svn/redwax/rt/redwax-tool/tags/redwax-tool-${version}/";
+    sha256 = "sha256-MWSB1AkkRS18UUHGq8EWv3OIXPSVHpmrdD5Eq1VdbkA=";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkg-config txt2man which ];
+  buildInputs = [ openssl apr aprutil ];
+
+  meta = with lib; {
+    homepage = "https://redwax.eu/rt/";
+    description = "Universal certificate conversion tool";
+    longDescription = ''
+      Read certificates and keys from your chosen sources, filter the
+      certificates and keys you're interested in, write those
+      certificates and keys to the destinations of your choice.
+    '';
+    license = licenses.asl20;
+    maintainers = with maintainers; [ astro ];
+  };
+}