diff --git a/pkgs/development/python-modules/thinc/default.nix b/pkgs/development/python-modules/thinc/default.nix index 321b1fb11816..6217a4200574 100644 --- a/pkgs/development/python-modules/thinc/default.nix +++ b/pkgs/development/python-modules/thinc/default.nix @@ -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