git.iko.soy/typeable/nixpkgs
on master help sign in
nwipe: init at 0.24 (#41664)

* nwipe: init at 0.24 * nwipe: cleanup deps

commited657a98c76a427d9c6a485ecb912386f6157a5d authorFrank Doepper <github@woffs.de> dateMon 11 Jun 2018, 11:41 (8 years ago) parent053f927
2 files changed+24
pkgs/tools/security/nwipe/default.nix+22 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/nwipe/default.nixnew file+22
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -1388,6 +1388,8 @@ with pkgs;
13881388
13891389 nrsc5 = callPackage ../applications/misc/nrsc5 { };
13901390
1391+ nwipe = callPackage ../tools/security/nwipe { };
1392+
13911393 onboard = callPackage ../applications/misc/onboard { };
13921394
13931395 optar = callPackage ../tools/graphics/optar {};