2018-06-11 11:41:59 +02:00
|
|
|
{ stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-30 08:55:38 +02:00
|
|
|
version = "0.28";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "nwipe";
|
2018-06-11 11:41:59 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "martijnvanbrummelen";
|
|
|
|
repo = "nwipe";
|
|
|
|
rev = "v${version}";
|
2020-03-30 08:55:38 +02:00
|
|
|
sha256 = "1aw905lmn1vm6klqn3q7445dwmwbjhcmwnkygpq9rddacgig1gdx";
|
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";
|
2020-03-04 09:31:40 +01:00
|
|
|
homepage = "https://github.com/martijnvanbrummelen/nwipe";
|
2018-06-11 11:41:59 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.woffs ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|