From ef0ff69f9914134d486fdaa78b6a2e6fcd7125e9 Mon Sep 17 00:00:00 2001 From: Nick Partridge Date: Tue, 14 Dec 2021 09:09:05 +1000 Subject: [PATCH] python39Packages.aubio: fix build on darwin --- pkgs/development/python-modules/aubio/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/aubio/default.nix b/pkgs/development/python-modules/aubio/default.nix index 4616e1b6ed3f..ad78b6c63fc8 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 ];