From 3ce89ba0027d62084983bc8725cc65432660f345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Mon, 8 Dec 2014 11:27:05 +0100 Subject: [PATCH] srm: added package --- pkgs/tools/security/srm/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/security/srm/default.nix diff --git a/pkgs/tools/security/srm/default.nix b/pkgs/tools/security/srm/default.nix new file mode 100644 index 000000000000..db14a5b0e0c7 --- /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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 75e0dbd13053..e61a79c29a08 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6907,6 +6907,8 @@ let sratom = callPackage ../development/libraries/audio/sratom { }; + srm = callPackage ../tools/security/srm { }; + srtp = callPackage ../development/libraries/srtp {}; srtp_linphone = callPackage ../development/libraries/srtp/linphone.nix { };