about summary refs log tree commit diff
path: root/pkgs/tools/archivers/zip/default.nix
blob: 884af0f0b0354043f3f7eb091a7ccd00569cffd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{stdenv, fetchurl}:

stdenv.mkDerivation {
  name = "zip-3.0";

  src = fetchurl {
    url = ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz;
    sha256 = "0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h";
  };

  buildFlags="-f unix/Makefile generic";

  installFlags="-f unix/Makefile prefix=$(out) INSTALL=cp";

  meta = {
    homepage = http://www.info-zip.org;
  };
}