at 18.09-beta 26 lines 841 B view raw
1{stdenv, fetchurl}: 2 3stdenv.mkDerivation rec { 4 name = "fcrackzip-${version}"; 5 version = "1.0"; 6 src = fetchurl { 7 url = "http://oldhome.schmorp.de/marc/data/${name}.tar.gz"; 8 sha256 = "0l1qsk949vnz18k4vjf3ppq8p497966x4c7f2yx18x8pk35whn2a"; 9 }; 10 11 # 'fcrackzip --use-unzip' cannot deal with file names containing a single quote 12 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430387 13 patches = [ ./fcrackzip_forkexec.patch ]; 14 15 # Do not clash with unizp/zipinfo 16 postInstall = "mv $out/bin/zipinfo $out/bin/fcrackzip-zipinfo"; 17 18 meta = with stdenv.lib; { 19 description = "zip password cracker, similar to fzc, zipcrack and others"; 20 homepage = http://oldhome.schmorp.de/marc/fcrackzip.html; 21 license = licenses.gpl2; 22 maintainers = with maintainers; [ nico202 ]; 23 platforms = with platforms; unix; 24 }; 25} 26