git.iko.soy/typeable/nixpkgs
on master help sign in
python-rtmidi: add alsaLib and libjack2 deps

python-rtmidi includes the rtmidi C++ library as a submodule (which is unfortunate since rtmidi is separately packaged in nixpkgs already) and wraps it using Cython. Without these dependencies, python-rtmidi won't build support for ALSA or jack into the compiled rtmidi, and will only have the 'dummy' API available.

commit2a5325d3cbbf080f4fdcd369ba102ef7adc250ba authorGraham Bennett <graham@grahambennett.org> dateSun 26 Jul 2020, 13:56 (6 years ago) parent2bd78b2
1 file changed+3−1
pkgs/development/python-modules/python-rtmidi/default.nix+3−1
pkgs/development/python-modules/python-rtmidi/default.nix+3−1
@@ -1,5 +1,5 @@
11{ lib, buildPythonPackage, fetchPypi, isPy27
2−, tox, flake8, alabaster
2+, pkg-config, alsaLib, libjack2, tox, flake8, alabaster
33}:
44
55buildPythonPackage rec {
@@ -12,6 +12,8 @@ buildPythonPackage rec {
1212 sha256 = "0b0y3hnjl2fvm3jyfvp1msfikp19vbqqqi7lawgy3azisvdyrgq7";
1313 };
1414
15+ nativeBuildInputs = [ pkg-config ];
16+ buildInputs = [ alsaLib libjack2 ];
1517 checkInputs = [
1618 tox
1719 flake8