about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/ccrypt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/security/ccrypt/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/security/ccrypt/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/ccrypt/default.nix b/nixpkgs/pkgs/tools/security/ccrypt/default.nix
new file mode 100644
index 000000000000..2972fc9ae55f
--- /dev/null
+++ b/nixpkgs/pkgs/tools/security/ccrypt/default.nix
@@ -0,0 +1,23 @@
+{lib, stdenv, fetchurl, perl}:
+
+stdenv.mkDerivation rec {
+  pname = "ccrypt";
+  version = "1.11";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/ccrypt/ccrypt-${version}.tar.gz";
+    sha256 = "0kx4a5mhmp73ljknl2lcccmw9z3f5y8lqw0ghaymzvln1984g75i";
+  };
+
+  nativeBuildInputs = [ perl ];
+
+  hardeningDisable = [ "format" ];
+
+  meta = {
+    homepage = "http://ccrypt.sourceforge.net/";
+    description = "Utility for encrypting and decrypting files and streams with AES-256";
+    license = lib.licenses.gpl2Plus;
+    maintainers = with lib.maintainers; [viric];
+    platforms = with lib.platforms; all;
+  };
+}