uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/tools/security/nwipe/default.nix
Normal file
42
pkgs/tools/security/nwipe/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, ncurses
|
||||
, parted
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nwipe";
|
||||
version = "0.33";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "martijnvanbrummelen";
|
||||
repo = "nwipe";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-i+cK2XTdWc3ByG9i+rfwL3Ds8Sl15/wZwEc5nrcWdeY=";
|
||||
};
|
||||
|
||||
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.gpl2Only;
|
||||
maintainers = with maintainers; [ woffs ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue