1 { lib, buildPythonPackage, fetchPypi, cython, alsaLib }:
3 buildPythonPackage rec {
4 pname = "rtmidi-python";
9 sha256 = "1wpcaxfpbmsjc78g8841kpixr0a3v6zn0ak058s3mm25kcysp4m0";
16 nativeBuildInputs = [ cython ];
17 buildInputs = [ alsaLib ];
19 setupPyBuildFlags = [ "--from-cython" ];
21 # package has no tests
24 pythonImportsCheck = [
29 description = "Python wrapper for RtMidi";
30 homepage = "https://github.com/superquadratic/rtmidi-python";
31 license = licenses.mit;
32 maintainers = with maintainers; [ hexa ];