From 8b458f0ad0ba580ad0e766b01fd12f2447cc4262 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 9 May 2023 03:00:58 +0200 Subject: [PATCH] python311Packages.python-rtmidi: disable https://hydra.nixos.org/build/219084783 --- .../development/python-modules/python-rtmidi/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-rtmidi/default.nix b/pkgs/development/python-modules/python-rtmidi/default.nix index fbdc6d9a9c40..8c51d9942f6b 100644 --- a/pkgs/development/python-modules/python-rtmidi/default.nix +++ b/pkgs/development/python-modules/python-rtmidi/default.nix @@ -2,7 +2,8 @@ , stdenv , buildPythonPackage , fetchPypi -, isPy27 +, pythonOlder +, pythonAtLeast , pkg-config , alsa-lib , libjack2 @@ -17,7 +18,9 @@ buildPythonPackage rec { pname = "python-rtmidi"; version = "1.4.9"; - disabled = isPy27; + + # https://github.com/SpotlightKid/python-rtmidi/issues/115 + disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; src = fetchPypi { inherit pname version; @@ -42,7 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "A Python binding for the RtMidi C++ library implemented using Cython"; - homepage = "https://chrisarndt.de/projects/python-rtmidi/"; + homepage = "https://github.com/SpotlightKid/python-rtmidi"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };