depot/third_party/nixpkgs/pkgs/tools/security/nwipe/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
693 B
Nix

{ stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
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 || :";
meta = with stdenv.lib; {
description = "Securely erase disks";
homepage = "https://github.com/martijnvanbrummelen/nwipe";
license = licenses.gpl2;
maintainers = [ maintainers.woffs ];
platforms = platforms.linux;
};
}