Merge pull request #119907 from fabaff/nwipe

nwipe: 0.28 -> 0.30
This commit is contained in:
Maximilian Bosch 2021-04-20 11:07:25 +02:00 committed by GitHub
commit 7c7a57055f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,22 +1,42 @@
{ lib, stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkg-config }:
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, ncurses
, parted
, pkg-config
}:
stdenv.mkDerivation rec {
version = "0.28";
pname = "nwipe";
version = "0.30";
src = fetchFromGitHub {
owner = "martijnvanbrummelen";
repo = "nwipe";
rev = "v${version}";
sha256 = "1aw905lmn1vm6klqn3q7445dwmwbjhcmwnkygpq9rddacgig1gdx";
sha256 = "sha256-cNZMFnk4L95jKTyGEUN3DlAChUNZlIjDdZqkkwPjehE=";
};
nativeBuildInputs = [ automake autoconf pkg-config ];
buildInputs = [ ncurses parted ];
preConfigure = "sh init.sh || :";
nativeBuildInputs = [
autoreconfHook
pkg-config
];
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 ];
license = licenses.gpl2Only;
maintainers = with maintainers; [ woffs ];
platforms = platforms.linux;
};
}