* Unzip 6.0.
svn path=/nixpkgs/trunk/; revision=17687
This commit is contained in:
parent
1ebd86987c
commit
672d3856df
27
pkgs/tools/archivers/unzip/6.0.nix
Normal file
27
pkgs/tools/archivers/unzip/6.0.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1590,10 +1590,17 @@ let
|
|||||||
inherit fetchurl stdenv zlib;
|
inherit fetchurl stdenv zlib;
|
||||||
};
|
};
|
||||||
|
|
||||||
unzip = import ../tools/archivers/unzip {
|
unzip = unzip552;
|
||||||
|
|
||||||
|
# TODO: remove in the next stdenv update.
|
||||||
|
unzip552 = import ../tools/archivers/unzip/5.52.nix {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
unzip60 = import ../tools/archivers/unzip/6.0.nix {
|
||||||
|
inherit fetchurl stdenv bzip2;
|
||||||
|
};
|
||||||
|
|
||||||
uptimed = import ../tools/system/uptimed {
|
uptimed = import ../tools/system/uptimed {
|
||||||
inherit fetchurl stdenv automake autoconf libtool;
|
inherit fetchurl stdenv automake autoconf libtool;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user