nixpkgs/pkgs/tools/security/nwipe/default.nix

23 lines
693 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
stdenv.mkDerivation rec {
2020-03-30 07:55:38 +01:00
version = "0.28";
pname = "nwipe";
src = fetchFromGitHub {
owner = "martijnvanbrummelen";
repo = "nwipe";
rev = "v${version}";
2020-03-30 07:55:38 +01:00
sha256 = "1aw905lmn1vm6klqn3q7445dwmwbjhcmwnkygpq9rddacgig1gdx";
};
nativeBuildInputs = [ automake autoconf pkgconfig ];
buildInputs = [ ncurses parted ];
preConfigure = "sh init.sh || :";
meta = with stdenv.lib; {
description = "Securely erase disks";
2020-03-04 08:31:40 +00:00
homepage = "https://github.com/martijnvanbrummelen/nwipe";
license = licenses.gpl2;
maintainers = [ maintainers.woffs ];
platforms = platforms.linux;
};
}