1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961
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 {