2021-01-11 07:54:33 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2016-12-12 12:05:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fcrackzip";
|
2016-12-12 12:05:28 +00:00
|
|
|
version = "1.0";
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://oldhome.schmorp.de/marc/data/${pname}-${version}.tar.gz";
|
2016-12-12 12:05:28 +00:00
|
|
|
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";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-12-12 12:05:28 +00:00
|
|
|
description = "zip password cracker, similar to fzc, zipcrack and others";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://oldhome.schmorp.de/marc/fcrackzip.html";
|
2016-12-12 12:05:28 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ nico202 ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|