pythonPackages.thinc: fix darwin build (#46092)
thinc uses Accelerate on macOS as a blas library. Add the necessary dependencies to allow building on unsandboxed Darwin machines.
This commit is contained in:
parent
bf2a90298a
commit
348a153781
@ -6,6 +6,7 @@
|
|||||||
, pytest
|
, pytest
|
||||||
, cython
|
, cython
|
||||||
, cymem
|
, cymem
|
||||||
|
, darwin
|
||||||
, msgpack-numpy
|
, msgpack-numpy
|
||||||
, msgpack-python
|
, msgpack-python
|
||||||
, preshed
|
, preshed
|
||||||
@ -40,6 +41,10 @@ buildPythonPackage rec {
|
|||||||
--replace "hypothesis>=2,<3" "hypothesis>=2"
|
--replace "hypothesis>=2,<3" "hypothesis>=2"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||||
|
Accelerate CoreFoundation CoreGraphics CoreVideo
|
||||||
|
]);
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cython
|
cython
|
||||||
cymem
|
cymem
|
||||||
|
Loading…
Reference in New Issue
Block a user