python311Packages.python-rtmidi: 1.4.9 -> 1.5.4
Changelog: https://github.com/SpotlightKid/python-rtmidi/blob/1.5.4/CHANGELOG.md
This commit is contained in:
committed by
Martin Weinelt
parent
9e6ff886ed
commit
dd7721acb7
@@ -1,33 +1,40 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, pkg-config
|
||||
, alsa-lib
|
||||
, libjack2
|
||||
, tox
|
||||
, flake8
|
||||
, alabaster
|
||||
, alsa-lib
|
||||
, buildPythonPackage
|
||||
, CoreAudio
|
||||
, CoreMIDI
|
||||
, CoreServices
|
||||
, fetchPypi
|
||||
, flake8
|
||||
, libjack2
|
||||
, meson-python
|
||||
, pkg-config
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, tox
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-rtmidi";
|
||||
version = "1.4.9";
|
||||
version = "1.5.4";
|
||||
format = "pyproject";
|
||||
|
||||
# https://github.com/SpotlightKid/python-rtmidi/issues/115
|
||||
disabled = pythonOlder "3.6" || pythonAtLeast "3.11";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bfeb4ed99d0cccf6fa2837566907652ded7adc1c03b69f2160c9de4082301302";
|
||||
pname = "python_rtmidi";
|
||||
inherit version;
|
||||
hash = "sha256-sLUGQoDba3iiYvqUFwMbIktSdZBb0OLhccfQ++FFRP0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
meson-python
|
||||
pkg-config
|
||||
setuptools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libjack2
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
@@ -37,15 +44,21 @@ buildPythonPackage rec {
|
||||
CoreMIDI
|
||||
CoreServices
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
tox
|
||||
flake8
|
||||
alabaster
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rtmidi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python binding for the RtMidi C++ library implemented using Cython";
|
||||
homepage = "https://github.com/SpotlightKid/python-rtmidi";
|
||||
changelog = "https://github.com/SpotlightKid/python-rtmidi/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user