Fix build of neon on darwin

svn path=/nixpkgs/trunk/; revision=34375
This commit is contained in:
Marco Maggesi
2012-06-06 21:47:26 +00:00
parent 93f41f5ad3
commit 4a5f21239f
2 changed files with 18 additions and 0 deletions
+6
View File
@@ -9,6 +9,10 @@ assert compressionSupport -> zlib != null;
assert sslSupport -> openssl != null;
assert static || shared;
let
inherit (stdenv.lib) optionals;
in
stdenv.mkDerivation rec {
name = "neon-0.29.6";
@@ -17,6 +21,8 @@ stdenv.mkDerivation rec {
sha256 = "0hzbjqdx1z8zw0vmbknf159wjsxbcq8ii0wgwkqhxj3dimr0nr4w";
};
patches = optionals stdenv.isDarwin [ ./0.29.6-darwin-fix-configure.patch ];
buildInputs = [libxml2 pkgconfig openssl]
++ stdenv.lib.optional compressionSupport zlib;