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
26
pkgs/tools/security/fcrackzip/default.nix
Normal file
26
pkgs/tools/security/fcrackzip/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{lib, stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fcrackzip";
|
||||
version = "1.0";
|
||||
src = fetchurl {
|
||||
url = "http://oldhome.schmorp.de/marc/data/${pname}-${version}.tar.gz";
|
||||
sha256 = "0l1qsk949vnz18k4vjf3ppq8p497966x4c7f2yx18x8pk35whn2a";
|
||||
};
|
||||
|
||||
# 'fcrackzip --use-unzip' cannot deal with file names containing a single quote
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430387
|
||||
patches = [ ./fcrackzip_forkexec.patch ];
|
||||
|
||||
# Do not clash with unizp/zipinfo
|
||||
postInstall = "mv $out/bin/zipinfo $out/bin/fcrackzip-zipinfo";
|
||||
|
||||
meta = with lib; {
|
||||
description = "zip password cracker, similar to fzc, zipcrack and others";
|
||||
homepage = "http://oldhome.schmorp.de/marc/fcrackzip.html";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ nico202 ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue