2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.28";
|
|
|
|
pname = "nwipe";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "martijnvanbrummelen";
|
|
|
|
repo = "nwipe";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1aw905lmn1vm6klqn3q7445dwmwbjhcmwnkygpq9rddacgig1gdx";
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [ automake autoconf pkgconfig ];
|
|
|
|
buildInputs = [ ncurses parted ];
|
|
|
|
preConfigure = "sh init.sh || :";
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Securely erase disks";
|
|
|
|
homepage = "https://github.com/martijnvanbrummelen/nwipe";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.woffs ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|