3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/python-rtmidi/default.nix

30 lines
723 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy27
, pkg-config, alsaLib, libjack2, tox, flake8, alabaster
}:
buildPythonPackage rec {
pname = "python-rtmidi";
2020-08-16 18:31:13 +01:00
version = "1.4.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-08-16 18:31:13 +01:00
sha256 = "7f4bbcd77431917503d6ae738093c8419ed67812d50883fa9cfefce1eb21eb3a";
};
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 ];
};
}