Merge pull request #150609 from nkpart/nkpart/fix-py-aubio

python3Packages.aubio: Fix build on darwin
This commit is contained in:
Mario Rodas 2021-12-19 00:11:46 -05:00 committed by GitHub
commit 5e137de37d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
];