nwipe: 0.28 -> 0.30
This commit is contained in:
parent
44fa00a5b8
commit
7d04bef4d8
|
@ -1,22 +1,42 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, ncurses, parted, automake, autoconf, pkg-config }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, autoreconfHook
|
||||||
|
, fetchFromGitHub
|
||||||
|
, ncurses
|
||||||
|
, parted
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.28";
|
|
||||||
pname = "nwipe";
|
pname = "nwipe";
|
||||||
|
version = "0.30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "martijnvanbrummelen";
|
owner = "martijnvanbrummelen";
|
||||||
repo = "nwipe";
|
repo = "nwipe";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1aw905lmn1vm6klqn3q7445dwmwbjhcmwnkygpq9rddacgig1gdx";
|
sha256 = "sha256-cNZMFnk4L95jKTyGEUN3DlAChUNZlIjDdZqkkwPjehE=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ automake autoconf pkg-config ];
|
|
||||||
buildInputs = [ ncurses parted ];
|
nativeBuildInputs = [
|
||||||
preConfigure = "sh init.sh || :";
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ncurses
|
||||||
|
parted
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
sh init.sh || :
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Securely erase disks";
|
description = "Securely erase disks";
|
||||||
homepage = "https://github.com/martijnvanbrummelen/nwipe";
|
homepage = "https://github.com/martijnvanbrummelen/nwipe";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Only;
|
||||||
maintainers = [ maintainers.woffs ];
|
maintainers = with maintainers; [ woffs ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue