mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03: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.
|
# zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
|
||||||
cygwinConfigureEnableShared = true;
|
cygwinConfigureEnableShared = true;
|
||||||
|
|
||||||
|
passthru.version = version;
|
||||||
}
|
}
|
||||||
|
@ -5398,6 +5398,8 @@ let
|
|||||||
|
|
||||||
ming = callPackage ../development/libraries/ming { };
|
ming = callPackage ../development/libraries/ming { };
|
||||||
|
|
||||||
|
minizip = callPackage ../development/libraries/minizip { };
|
||||||
|
|
||||||
minmay = callPackage ../development/libraries/minmay { };
|
minmay = callPackage ../development/libraries/minmay { };
|
||||||
|
|
||||||
miro = callPackage ../applications/video/miro {
|
miro = callPackage ../applications/video/miro {
|
||||||
|
Loading…
Reference in New Issue
Block a user