about summary refs log tree commit diff
path: root/pkgs/tools/security/srm
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2014-12-08 11:27:05 +0100
committerEdward Tjörnhammar <ed@cflags.cc>2014-12-08 11:51:39 +0100
commit3ce89ba0027d62084983bc8725cc65432660f345 (patch)
treeee009245a1018edebe1dc9c86e3f08b9b783c279 /pkgs/tools/security/srm
parent7102ef5d49171bf1d42461df828773a41f78037d (diff)
srm: added package
Diffstat (limited to 'pkgs/tools/security/srm')
-rw-r--r--pkgs/tools/security/srm/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/srm/default.nix b/pkgs/tools/security/srm/default.nix
new file mode 100644
index 0000000000000..db14a5b0e0c70
--- /dev/null
+++ b/pkgs/tools/security/srm/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+
+  name = "srm-" + version;
+  version = "1.2.14";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/project/srm/1.2.14/srm-1.2.14.tar.gz";
+    sha256 = "1irwwpb7yhmii2v4vz1fjkmmhw7w7qd1ak9arn9zfg3mgcnwl32q";
+  };
+
+  meta = with stdenv.lib; {
+    description = "Delete files securely";
+    longDescription = ''
+      srm (secure rm) is a command-line compatible rm(1) which
+      overwrites file contents before unlinking. The goal is to
+      provide drop in security for users who wish to prevent recovery
+      of deleted information, even if the machine is compromised.
+    '';
+    homepage = "http://srm.sourceforge.net";
+    license = licenses.mit;
+    maintainers = with maintainers; [ edwtjo ];
+    platforms = platforms.linux;
+  };
+
+}
\ No newline at end of file