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.
This commit is contained in:
Graham Bennett 2020-07-26 13:56:01 +01:00
parent 2bd78b209d
commit 2a5325d3cb

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, isPy27 { lib, buildPythonPackage, fetchPypi, isPy27
, tox, flake8, alabaster , pkg-config, alsaLib, libjack2, tox, flake8, alabaster
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -12,6 +12,8 @@ buildPythonPackage rec {
sha256 = "0b0y3hnjl2fvm3jyfvp1msfikp19vbqqqi7lawgy3azisvdyrgq7"; sha256 = "0b0y3hnjl2fvm3jyfvp1msfikp19vbqqqi7lawgy3azisvdyrgq7";
}; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsaLib libjack2 ];
checkInputs = [ checkInputs = [
tox tox
flake8 flake8