wipefreespace: 2.6 -> 3.0 (#438122)
This commit is contained in:
@@ -1,55 +1,48 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
e2fsprogs,
|
||||
ntfs3g,
|
||||
xfsprogs,
|
||||
reiser4progs,
|
||||
libaal,
|
||||
jfsutils,
|
||||
libuuid,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gettext,
|
||||
texinfo,
|
||||
xfsprogs,
|
||||
e2fsprogs,
|
||||
libcap,
|
||||
ntfs3g,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "wipefreespace";
|
||||
version = "2.6";
|
||||
version = "3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/wipefreespace/wipefreespace/${version}/wipefreespace-${version}.tar.gz";
|
||||
hash = "sha256-Pt6MDQ9wSJbL4tW/qckTpFsvE9FdXIkp/QmnYSlWR/M=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "bogdro";
|
||||
repo = "wipefreespace";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-zWjMCWQNPPly8xJ7jQraGHi4OLuNrnpNVQC2CRyHUlw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
texinfo
|
||||
xfsprogs
|
||||
];
|
||||
|
||||
# missed: Reiser3 FAT12/16/32 MinixFS HFS+ OCFS
|
||||
buildInputs = [
|
||||
e2fsprogs
|
||||
libcap
|
||||
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; {
|
||||
meta = {
|
||||
description = "Program which will securely wipe the free space";
|
||||
homepage = "https://wipefreespace.sourceforge.io";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ catap ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ kyehn ];
|
||||
mainProgram = "wipefreespace";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user