@@ -0,0 +1,22 @@
1+{ stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
2+
3+stdenv.mkDerivation rec {
4+ version = "0.24";
5+ name = "nwipe-${version}";
6+ src = fetchFromGitHub {
7+ owner = "martijnvanbrummelen";
8+ repo = "nwipe";
9+ rev = "v${version}";
10+ sha256 = "0zminjngz98b4jl1ii6ssa7pkmf4xw6mmk8apxz3xr68cps12ls0";
11+ };
12+ nativeBuildInputs = [ automake autoconf pkgconfig ];
13+ buildInputs = [ ncurses parted ];
14+ preConfigure = "sh init.sh || :";
15+ meta = with stdenv.lib; {
16+ description = "Securely erase disks";
17+ homepage = https://github.com/martijnvanbrummelen/nwipe;
18+ license = licenses.gpl2;
19+ maintainers = [ maintainers.woffs ];
20+ platforms = platforms.linux;
21+ };
22+}