Merge pull request #253772 from azuwis/python-rtmidi

python3.pkgs.python-rtmidi: Fix build on darwin
This commit is contained in:
Weijia Wang 2023-09-08 20:07:50 +02:00 committed by GitHub
commit 6a00b76d0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -6,6 +6,7 @@
, CoreAudio
, CoreMIDI
, CoreServices
, Foundation
, cython_3
, fetchPypi
, flake8
@ -40,13 +41,14 @@ buildPythonPackage rec {
];
buildInputs = [
libjack2
] ++ lib.optionals stdenv.isLinux [
libjack2
alsa-lib
] ++ lib.optionals stdenv.isDarwin [
CoreAudio
CoreMIDI
CoreServices
Foundation
];
nativeCheckInputs = [

View file

@ -10568,7 +10568,7 @@ self: super: with self; {
python-roborock = callPackage ../development/python-modules/python-roborock { };
python-rtmidi = callPackage ../development/python-modules/python-rtmidi {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices;
inherit (pkgs.darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices Foundation;
};
python-sat = callPackage ../development/python-modules/python-sat { };