From 41d0fe93485c4a3e57003bf07fe2694c46b05476 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 20 Dec 2023 19:31:22 +0000 Subject: [PATCH 1/2] python310Packages.mido: 1.3.0 -> 1.3.2 --- pkgs/development/python-modules/mido/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mido/default.nix b/pkgs/development/python-modules/mido/default.nix index 84fe78a59475..1e9ba58f0495 100644 --- a/pkgs/development/python-modules/mido/default.nix +++ b/pkgs/development/python-modules/mido/default.nix @@ -12,12 +12,12 @@ buildPythonPackage rec { pname = "mido"; - version = "1.3.0"; + version = "1.3.2"; format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-hCguOs40vKP5hCINstvLmCRc/q+4VCYMAuAAdQ3Khqo="; + sha256 = "sha256-Ouootu1zD3N9WxLaNXjevp3FAFj6Nw/pzt7ZGJtnw0g="; }; patches = [ From 542f2de55096d0fefd33a99a8dae43b341126612 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Dec 2023 11:08:36 +0100 Subject: [PATCH 2/2] python310Packages.mido: add changelog to meta - disable on unsupported Python releases --- pkgs/development/python-modules/mido/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mido/default.nix b/pkgs/development/python-modules/mido/default.nix index 1e9ba58f0495..90b5128e4747 100644 --- a/pkgs/development/python-modules/mido/default.nix +++ b/pkgs/development/python-modules/mido/default.nix @@ -6,6 +6,7 @@ , portmidi , python-rtmidi , pytestCheckHook +, pythonOlder , setuptools , setuptools-scm }: @@ -13,7 +14,9 @@ buildPythonPackage rec { pname = "mido"; version = "1.3.2"; - format = "pyproject"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; @@ -47,6 +50,7 @@ buildPythonPackage rec { meta = with lib; { description = "MIDI Objects for Python"; homepage = "https://mido.readthedocs.io"; + changelog = "https://github.com/mido/mido/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ ]; };