1{ lib, stdenv, fetchsvn, autoreconfHook }:
2
3stdenv.mkDerivation {
4 pname = "srm";
5 version = "1.2.15-unstable-2017-12-18";
6
7 src = fetchsvn {
8 url = "svn://svn.code.sf.net/p/srm/srm/trunk/";
9 rev = "268";
10 sha256 = "sha256-bY8p6IS5zeByoe/uTmvBAaBN4Wu7J19dVSpbtqx4OeQ=";
11 };
12
13 patches = [ ./fix-output-in-verbose-mode.patch ];
14 nativeBuildInputs = [ autoreconfHook ];
15
16 meta = with lib; {
17 description = "Delete files securely";
18 longDescription = ''
19 srm (secure rm) is a command-line compatible rm(1) which
20 overwrites file contents before unlinking. The goal is to
21 provide drop in security for users who wish to prevent recovery
22 of deleted information, even if the machine is compromised.
23 '';
24 homepage = "https://srm.sourceforge.net";
25 license = licenses.mit;
26 maintainers = with maintainers; [ edwtjo ];
27 platforms = platforms.unix;
28 };
29}