2018-06-11 11:41:59 +02:00
|
|
|
{ stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-21 17:56:11 +02:00
|
|
|
version = "0.25";
|
2018-06-11 11:41:59 +02:00
|
|
|
name = "nwipe-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "martijnvanbrummelen";
|
|
|
|
repo = "nwipe";
|
|
|
|
rev = "v${version}";
|
2018-09-21 17:56:11 +02:00
|
|
|
sha256 = "1hx041arw82k814g9r8dqsfi736mj5nlzp2zpi8n2qfqfc1q8nir";
|
2018-06-11 11:41:59 +02: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;
|
|
|
|
};
|
|
|
|
}
|