mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 12:08:02 +03:00
nwipe: 0.34 -> 0.37; move to by-name
This commit is contained in:
parent
bac3e72803
commit
31ff88c94d
@ -1,43 +1,53 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, autoreconfHook
|
||||
, makeWrapper
|
||||
, fetchFromGitHub
|
||||
, ncurses
|
||||
, parted
|
||||
, pkg-config
|
||||
, libconfig
|
||||
, hdparm
|
||||
, smartmontools
|
||||
, dmidecode
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nwipe";
|
||||
version = "0.34";
|
||||
version = "0.37";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "martijnvanbrummelen";
|
||||
repo = "nwipe";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7WI8AwWkg9rOjAbOyDgCVOpeMxvJ5Bd1yvzfSv6TPLs=";
|
||||
sha256 = "sha256-0mBiWKkMV8i9n158k843caulF90k43ctpMvKhc4HZxY";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ncurses
|
||||
parted
|
||||
libconfig
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sh init.sh || :
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/nwipe \
|
||||
--prefix PATH : ${lib.makeBinPath [ hdparm smartmontools dmidecode ]}
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Securely erase disks";
|
||||
mainProgram = "nwipe";
|
||||
homepage = "https://github.com/martijnvanbrummelen/nwipe";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ woffs ];
|
||||
maintainers = with maintainers; [ vifino woffs ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -5937,8 +5937,6 @@ with pkgs;
|
||||
|
||||
nsz = with python3.pkgs; toPythonApplication nsz;
|
||||
|
||||
nwipe = callPackage ../tools/security/nwipe { };
|
||||
|
||||
nx2elf = callPackage ../tools/compression/nx2elf { };
|
||||
|
||||
nx-libs = callPackage ../tools/X11/nx-libs { };
|
||||
|
Loading…
Reference in New Issue
Block a user