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-08-29 12:41:51 +01:00
|
|
|
version = "1.4.5";
|
2020-06-22 21:09:00 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-29 12:41:51 +01:00
|
|
|
sha256 = "3dd1909d0f44f03a4191131f1829cac2ee6a94f5a4be2a9606354748e594e704";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|