diff options
author | Nick Partridge <nkpart@gmail.com> | 2021-12-14 09:09:05 +1000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-12-14 09:09:05 +1000 |
commit | ef0ff69f9914134d486fdaa78b6a2e6fcd7125e9 (patch) | |
tree | 70491cfd36c6767bb30b281a5eae870e33b03249 /pkgs/development/python-modules/aubio | |
parent | 29a63934242434e2057a7bb1105fa522f2034d47 (diff) |
python39Packages.aubio: fix build on darwin
Diffstat (limited to 'pkgs/development/python-modules/aubio')
-rw-r--r-- | pkgs/development/python-modules/aubio/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aubio/default.nix b/pkgs/development/python-modules/aubio/default.nix index 4616e1b6ed3fe..ad78b6c63fc8c 100644 --- a/pkgs/development/python-modules/aubio/default.nix +++ b/pkgs/development/python-modules/aubio/default.nix @@ -3,6 +3,8 @@ , fetchFromGitHub , numpy , pytestCheckHook +, stdenv +, darwin }: buildPythonPackage rec { @@ -16,6 +18,8 @@ buildPythonPackage rec { sha256 = "0fhxikvlr010nbh02g455d5y8bq6j5yw180cdh4gsd0hb43y3z26"; }; + buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Accelerate AudioToolbox CoreVideo CoreGraphics ]); + propagatedBuildInputs = [ numpy ]; |