nixpkgs/pkgs/development/libraries/zlib-mac-fix/default.nix
Eelco Dolstra 128a5bd522 * Fix for zlib on Darwin (it always wants to install in /usr/lib,
despite the prefix).
* Indirections in all-packages-generic for patch.
* Darwin: removed version number.

svn path=/nixpkgs/trunk/; revision=1247
2004-08-09 14:33:14 +00:00

13 lines
285 B
Nix

{stdenv, fetchurl, patch}:
stdenv.mkDerivation {
name = "zlib-1.2.1";
src = fetchurl {
url = http://www.gzip.org/zlib/zlib-1.2.1.tar.gz;
md5 = "ef1cb003448b4a53517b8f25adb12452";
};
configureFlags = "--shared";
patches = [./darwin.patch];
buildInputs = [patch];
}