2018-06-11 02:41:59 -07:00
|
|
|
{ stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-09-27 14:29:12 -07:00
|
|
|
version = "0.26";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "nwipe";
|
2018-06-11 02:41:59 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "martijnvanbrummelen";
|
|
|
|
repo = "nwipe";
|
|
|
|
rev = "v${version}";
|
2019-09-27 14:29:12 -07:00
|
|
|
sha256 = "072gg7hafq4vncpgm62yswshg6qgbi9mg2hl0p22c7if908p4vaa";
|
2018-06-11 02:41:59 -07:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [ automake autoconf pkgconfig ];
|
|
|
|
buildInputs = [ ncurses parted ];
|
|
|
|
preConfigure = "sh init.sh || :";
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Securely erase disks";
|
|
|
|
homepage = https://github.com/martijnvanbrummelen/nwipe;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.woffs ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|