python312Packages.scipy: add xcbuild for darwin build

This commit is contained in:
Doron Behar 2024-06-30 18:35:05 +03:00
parent 6805615be3
commit 0b1ae52fe3

View File

@ -5,6 +5,7 @@
fetchpatch, fetchpatch,
fetchurl, fetchurl,
writeText, writeText,
xcbuild,
python, python,
buildPythonPackage, buildPythonPackage,
cython, cython,
@ -98,6 +99,12 @@ buildPythonPackage {
pkg-config pkg-config
wheel wheel
setuptools 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 = [ buildInputs = [