a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
22 lines
691 B
Nix
22 lines
691 B
Nix
{ lib, 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 lib; {
|
|
description = "Securely erase disks";
|
|
homepage = "https://github.com/martijnvanbrummelen/nwipe";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.woffs ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|