2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcrackzip";
|
|
|
|
version = "1.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://oldhome.schmorp.de/marc/data/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0l1qsk949vnz18k4vjf3ppq8p497966x4c7f2yx18x8pk35whn2a";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
CFLAGS = "-std=gnu89";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# '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-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "zip password cracker, similar to fzc, zipcrack and others";
|
|
|
|
homepage = "http://oldhome.schmorp.de/marc/fcrackzip.html";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ nico202 ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|