28 lines
604 B
Nix
28 lines
604 B
Nix
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||
|
, tox, flake8, alabaster
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "python-rtmidi";
|
||
|
version = "1.4.1";
|
||
|
disabled = isPy27;
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "0b0y3hnjl2fvm3jyfvp1msfikp19vbqqqi7lawgy3azisvdyrgq7";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|