depot/third_party/nixpkgs/pkgs/development/python-modules/python-rtmidi/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

29 lines
725 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, pkg-config, alsa-lib, libjack2, tox, flake8, alabaster
}:
buildPythonPackage rec {
pname = "python-rtmidi";
version = "1.4.9";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "bfeb4ed99d0cccf6fa2837566907652ded7adc1c03b69f2160c9de4082301302";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsa-lib 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 ];
};
}