diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-10-07 11:18:54 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-10-07 11:18:54 +0000 |
commit | 672d3856df5d0e0e5bd5053e59cd5925b85e9f4a (patch) | |
tree | da56ea6d1a95ca9b0b2f0b440b3d7a3e32bc8c4f /pkgs/tools | |
parent | 1ebd86987c49d973c98e1e4e49af42a69e815c2a (diff) |
* Unzip 6.0.
svn path=/nixpkgs/trunk/; revision=17687
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/archivers/unzip/5.52.nix (renamed from pkgs/tools/archivers/unzip/default.nix) | 0 | ||||
-rw-r--r-- | pkgs/tools/archivers/unzip/6.0.nix | 27 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/unzip/default.nix b/pkgs/tools/archivers/unzip/5.52.nix index c72def3731a30..c72def3731a30 100644 --- a/pkgs/tools/archivers/unzip/default.nix +++ b/pkgs/tools/archivers/unzip/5.52.nix diff --git a/pkgs/tools/archivers/unzip/6.0.nix b/pkgs/tools/archivers/unzip/6.0.nix new file mode 100644 index 0000000000000..bfa38e2f9dec1 --- /dev/null +++ b/pkgs/tools/archivers/unzip/6.0.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, bzip2 }: + +stdenv.mkDerivation { + name = "unzip-6.0"; + + src = fetchurl { + url = mirror://sourceforge/infozip/unzip60.tar.gz; + sha256 = "0dxx11knh3nk95p2gg2ak777dd11pr7jx5das2g49l262scrcv83"; + }; + + buildInputs = [ bzip2 ]; + + makefile = "unix/Makefile"; + + NIX_LDFLAGS = "-lbz2"; + + buildFlags = "generic D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2"; + + installFlags = "prefix=$(out)"; + + meta = { + homepage = http://www.info-zip.org; + description = "An extraction utility for archives compressed in .zip format"; + license = "free"; # http://www.info-zip.org/license.html + meta.platforms = [ stdenv.lib.platforms.all ]; + }; +} |