30 lines
723 B
Nix
30 lines
723 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, pkg-config, alsaLib, libjack2, tox, flake8, alabaster
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-rtmidi";
|
|
version = "1.4.7";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d7dbc2b174b09015dfbee449a672a072aa72b367be40b13e04ee35a2e2e399e3";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ alsaLib libjack2 ];
|
|
checkInputs = [
|
|
tox
|
|
flake8
|
|
alabaster
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A Python binding for the RtMidi C++ library implemented using Cython";
|
|
homepage = "https://chrisarndt.de/projects/python-rtmidi/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|