fcrackzip: init at 1.0

This commit is contained in:
Nicolò Balzarotti
2017-01-25 19:34:34 +01:00
committed by Robin Gloster
parent 8fa49a6351
commit 9371acd80f
3 changed files with 133 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "fcrackzip-${version}";
version = "1.0";
src = fetchurl {
url = "http://oldhome.schmorp.de/marc/data/${name}.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 stdenv.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;
};
}