mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
cb212f78e0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/nwipe/versions
23 lines
701 B
Nix
23 lines
701 B
Nix
{ stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.25";
|
|
name = "nwipe-${version}";
|
|
src = fetchFromGitHub {
|
|
owner = "martijnvanbrummelen";
|
|
repo = "nwipe";
|
|
rev = "v${version}";
|
|
sha256 = "1hx041arw82k814g9r8dqsfi736mj5nlzp2zpi8n2qfqfc1q8nir";
|
|
};
|
|
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;
|
|
};
|
|
}
|