diff options
| author | Graham Bennett <graham@grahambennett.org> | 2020-07-26 13:56:01 +0100 |
|---|---|---|
| committer | Graham Bennett <graham@grahambennett.org> | 2020-07-26 14:13:26 +0100 |
| commit | 2a5325d3cbbf080f4fdcd369ba102ef7adc250ba (patch) | |
| tree | fabf261d5ac9b9b13b0e9e2bc87b9ff18a401493 /pkgs/development/python-modules/python-rtmidi | |
| parent | 2bd78b209d1414751b74149db08208db7aaaf017 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-rtmidi')
| -rw-r--r-- | pkgs/development/python-modules/python-rtmidi/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-rtmidi/default.nix b/pkgs/development/python-modules/python-rtmidi/default.nix index 24d86289bf2a..3538db60793d 100644 --- a/pkgs/development/python-modules/python-rtmidi/default.nix +++ b/pkgs/development/python-modules/python-rtmidi/default.nix @@ -1,5 +1,5 @@ { lib, buildPythonPackage, fetchPypi, isPy27 -, tox, flake8, alabaster +, pkg-config, alsaLib, libjack2, tox, flake8, alabaster }: buildPythonPackage rec { @@ -12,6 +12,8 @@ buildPythonPackage rec { sha256 = "0b0y3hnjl2fvm3jyfvp1msfikp19vbqqqi7lawgy3azisvdyrgq7"; }; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ alsaLib libjack2 ]; checkInputs = [ tox flake8 |
