3
0
Fork 0
forked from mirrors/nixpkgs

wipefreespace: init at 2.5

This commit is contained in:
Kirill A. Korinsky 2022-07-06 13:22:08 +02:00
parent 651842bd85
commit 9573c61a7c
No known key found for this signature in database
GPG key ID: 98D8D9867759226E
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,54 @@
{ stdenv
, pkgs
, lib
, fetchurl
, e2fsprogs
, ntfs3g
, xfsprogs
, reiser4progs
, libaal
, jfsutils
, libuuid
, texinfo
}:
stdenv.mkDerivation rec {
pname = "wipefreespace";
version = "2.5";
src = fetchurl {
url = "mirror://sourceforge/project/wipefreespace/wipefreespace/${version}/wipefreespace-${version}.tar.gz";
hash = "sha256-wymV6G4Et5TCoIztZfdb3xuzjdBHFyB5OmI4EcsJKwQ=";
};
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; {
description = "A program which will securely wipe the free space";
homepage = "https://wipefreespace.sourceforge.io";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ catap ];
};
}

View file

@ -11971,6 +11971,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Foundation IOBluetooth;
};
wipefreespace = callPackage ../tools/filesystems/wipefreespace {};
woeusb = callPackage ../tools/misc/woeusb { };
woeusb-ng = callPackage ../tools/misc/woeusb-ng { };