python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / fcrackzip / default.nix
blob31d0b44fb710dac21ee3af6df9d77163a19b211f
1 {lib, stdenv, fetchurl}:
3 stdenv.mkDerivation rec {
4   pname = "fcrackzip";
5   version = "1.0";
6   src = fetchurl {
7     url = "http://oldhome.schmorp.de/marc/data/${pname}-${version}.tar.gz";
8     sha256 = "0l1qsk949vnz18k4vjf3ppq8p497966x4c7f2yx18x8pk35whn2a";
9   };
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 ];
15   # Do not clash with unizp/zipinfo
16   postInstall = "mv $out/bin/zipinfo $out/bin/fcrackzip-zipinfo";
18   meta = with 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   };