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
|
||||
, cython
|
||||
, cymem
|
||||
, darwin
|
||||
, msgpack-numpy
|
||||
, msgpack-python
|
||||
, preshed
|
||||
@ -40,6 +41,10 @@ buildPythonPackage rec {
|
||||
--replace "hypothesis>=2,<3" "hypothesis>=2"
|
||||
'';
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
Accelerate CoreFoundation CoreGraphics CoreVideo
|
||||
]);
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython
|
||||
cymem
|
||||
|
Loading…
Reference in New Issue
Block a user