2022-07-14 12:49:19 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, e2fsprogs
|
|
|
|
, ntfs3g
|
|
|
|
, xfsprogs
|
|
|
|
, reiser4progs
|
|
|
|
, libaal
|
|
|
|
, jfsutils
|
|
|
|
, libuuid
|
|
|
|
, texinfo
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wipefreespace";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2.6";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/wipefreespace/wipefreespace/${version}/wipefreespace-${version}.tar.gz";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-Pt6MDQ9wSJbL4tW/qckTpFsvE9FdXIkp/QmnYSlWR/M=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
texinfo
|
|
|
|
];
|
|
|
|
|
|
|
|
# missed: Reiser3 FAT12/16/32 MinixFS HFS+ OCFS
|
|
|
|
buildInputs = [
|
|
|
|
e2fsprogs
|
|
|
|
ntfs3g
|
|
|
|
xfsprogs
|
|
|
|
reiser4progs
|
|
|
|
libaal
|
|
|
|
jfsutils
|
|
|
|
libuuid
|
|
|
|
];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export PATH=$PATH:${xfsprogs}/bin
|
|
|
|
export CFLAGS=-I${jfsutils}/include
|
|
|
|
export LDFLAGS="-L${jfsutils}/lib -L${reiser4progs}/lib"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Program which will securely wipe the free space";
|
2022-07-14 12:49:19 +00:00
|
|
|
homepage = "https://wipefreespace.sourceforge.io";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ catap ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "wipefreespace";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
}
|