2020-06-22 21:09:00 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
2020-07-26 13:56:01 +01:00
|
|
|
, pkg-config, alsaLib, libjack2, tox, flake8, alabaster
|
2020-06-22 21:09:00 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-rtmidi";
|
2020-10-22 21:04:04 +01:00
|
|
|
version = "1.4.6";
|
2020-06-22 21:09:00 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-22 21:04:04 +01:00
|
|
|
sha256 = "1aqhsl9w3h0rwf3mhr8parjbxm2sb6sn5mac6725cvm535pqqyhz";
|
2020-06-22 21:09:00 +01:00
|
|
|
};
|
|
|
|
|
2020-07-26 13:56:01 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ alsaLib libjack2 ];
|
2020-06-22 21:09:00 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|