Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, isPy27 2, pkg-config, alsaLib, libjack2, tox, flake8, alabaster 3}: 4 5buildPythonPackage rec { 6 pname = "python-rtmidi"; 7 version = "1.4.5"; 8 disabled = isPy27; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "3dd1909d0f44f03a4191131f1829cac2ee6a94f5a4be2a9606354748e594e704"; 13 }; 14 15 nativeBuildInputs = [ pkg-config ]; 16 buildInputs = [ alsaLib libjack2 ]; 17 checkInputs = [ 18 tox 19 flake8 20 alabaster 21 ]; 22 23 meta = with lib; { 24 description = "A Python binding for the RtMidi C++ library implemented using Cython"; 25 homepage = "https://chrisarndt.de/projects/python-rtmidi/"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ hexa ]; 28 }; 29}