Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi 2, alsaLib 3}: 4 5buildPythonPackage rec { 6 pname = "rtmidi-python"; 7 version = "0.2.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1wpcaxfpbmsjc78g8841kpixr0a3v6zn0ak058s3mm25kcysp4m0"; 12 }; 13 14 buildInputs = [ alsaLib ]; 15 16 # package has no tests 17 doCheck = false; 18 19 pythonImportsCheck = [ 20 "rtmidi_python" 21 ]; 22 23 meta = with lib; { 24 description = "Python wrapper for RtMidi"; 25 homepage = "https://github.com/superquadratic/rtmidi-python"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ hexa ]; 28 }; 29}