pythonPackages.lxml: fix build on darwin
This commit is contained in:
parent
e0a6159fc6
commit
c31077a602
@ -1,8 +1,9 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ stdenv, lib, buildPythonPackage, fetchFromGitHub
|
||||||
, cython
|
, cython
|
||||||
, libxml2
|
, libxml2
|
||||||
, libxslt
|
, libxslt
|
||||||
, zlib
|
, zlib
|
||||||
|
, xcodebuild
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# setuptoolsBuildPhase needs dependencies to be passed through nativeBuildInputs
|
# setuptoolsBuildPhase needs dependencies to be passed through nativeBuildInputs
|
||||||
nativeBuildInputs = [ libxml2.dev libxslt.dev cython ];
|
nativeBuildInputs = [ libxml2.dev libxslt.dev cython ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
|
||||||
buildInputs = [ libxml2 libxslt zlib ];
|
buildInputs = [ libxml2 libxslt zlib ];
|
||||||
|
|
||||||
# tests are meant to be ran "in-place" in the same directory as src
|
# tests are meant to be ran "in-place" in the same directory as src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user