python312Packages.scipy: add xcbuild for darwin build

This commit is contained in:
Doron Behar
2024-07-01 11:23:50 +03:00
parent 6805615be3
commit 0b1ae52fe3
@@ -5,6 +5,7 @@
fetchpatch,
fetchurl,
writeText,
xcbuild,
python,
buildPythonPackage,
cython,
@@ -98,6 +99,12 @@ buildPythonPackage {
pkg-config
wheel
setuptools
] ++ lib.optionals stdenv.isDarwin [
# Minimal version required according to:
# https://github.com/scipy/scipy/blob/v1.14.0/scipy/meson.build#L185-L188
(xcbuild.override {
sdkVer = "13.3";
})
];
buildInputs = [