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:
parent
5b67290740
commit
33acfbe917
14
pkgs/development/libraries/minizip/default.nix
Normal file
14
pkgs/development/libraries/minizip/default.nix
Normal 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
|
||||
'';
|
||||
}
|
|
@ -40,4 +40,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
|
||||
cygwinConfigureEnableShared = true;
|
||||
|
||||
passthru.version = version;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue