minizip: New package based on zlib derivation.

This is needed by Chromium and is part of the zlib source tree in
contrib/, so let's propagate the version of zlib and use the same source
tree.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2014-03-18 02:21:10 +01:00
parent 5b67290740
commit 33acfbe917
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{ stdenv, zlib, autoconf, automake, libtool }:
stdenv.mkDerivation {
name = "minizip-${zlib.version}";
inherit (zlib) src;
nativeBuildInputs = [ autoconf automake libtool ];
buildInputs = [ zlib ];
preConfigure = ''
cd contrib/minizip
autoreconf -vfi
'';
}

View File

@@ -40,4 +40,6 @@ stdenv.mkDerivation rec {
# zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
cygwinConfigureEnableShared = true;
passthru.version = version;
}

View File

@@ -5398,6 +5398,8 @@ let
ming = callPackage ../development/libraries/ming { };
minizip = callPackage ../development/libraries/minizip { };
minmay = callPackage ../development/libraries/minmay { };
miro = callPackage ../applications/video/miro {