Skip to content

Commit

Permalink
python-rtmidi: add alsaLib and libjack2 deps
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
graham33 committed Jul 26, 2020
1 parent 2bd78b2 commit 2a5325d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/python-modules/python-rtmidi/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, tox, flake8, alabaster
, pkg-config, alsaLib, libjack2, tox, flake8, alabaster
}:

buildPythonPackage rec {
Expand All @@ -12,6 +12,8 @@ buildPythonPackage rec {
sha256 = "0b0y3hnjl2fvm3jyfvp1msfikp19vbqqqi7lawgy3azisvdyrgq7";
};

nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsaLib libjack2 ];
checkInputs = [
tox
flake8
Expand Down

0 comments on commit 2a5325d

Please sign in to comment.