2023-06-05 02:14:10 +00:00
|
|
|
{ lib, stdenv, fetchsvn, autoreconfHook }:
|
2014-12-08 10:27:05 +00:00
|
|
|
|
2023-06-05 02:14:10 +00:00
|
|
|
stdenv.mkDerivation {
|
2021-11-29 18:24:13 +00:00
|
|
|
pname = "srm";
|
2023-06-05 02:14:10 +00:00
|
|
|
version = "1.2.15-unstable-2017-12-18";
|
2014-12-08 10:27:05 +00:00
|
|
|
|
2023-06-05 02:14:10 +00:00
|
|
|
src = fetchsvn {
|
|
|
|
url = "svn://svn.code.sf.net/p/srm/srm/trunk/";
|
|
|
|
rev = "268";
|
|
|
|
sha256 = "sha256-bY8p6IS5zeByoe/uTmvBAaBN4Wu7J19dVSpbtqx4OeQ=";
|
2014-12-08 10:27:05 +00:00
|
|
|
};
|
|
|
|
|
2023-06-05 02:14:10 +00:00
|
|
|
patches = [ ./fix-output-in-verbose-mode.patch ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-12-08 10:27:05 +00:00
|
|
|
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.
|
|
|
|
'';
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://srm.sourceforge.net";
|
2014-12-08 10:27:05 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
2018-03-30 22:30:39 +00:00
|
|
|
platforms = platforms.unix;
|
2014-12-08 10:27:05 +00:00
|
|
|
};
|
2018-03-30 22:30:39 +00:00
|
|
|
}
|