From e99d07ebddc6422f688a9d8a3acc3c88913e65cb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 10 Mar 2023 05:19:35 +0000 Subject: [PATCH 1/3] python310Packages.pymumble: 1.6.1 -> 1.7 --- pkgs/development/python-modules/pymumble/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pymumble/default.nix b/pkgs/development/python-modules/pymumble/default.nix index 558d5c6bd9e5..cea692d852a0 100644 --- a/pkgs/development/python-modules/pymumble/default.nix +++ b/pkgs/development/python-modules/pymumble/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "pymumble"; - version = "1.6.1"; + version = "1.7"; disabled = isPy27; src = fetchFromGitHub { owner = "azlux"; repo = "pymumble"; - rev = version; - sha256 = "1qbsd2zvwd9ksclgiyrl1z79ms0zximm4527mnmhvq36lykgki7s"; + rev = "refs/tags/${version}"; + sha256 = "sha256-NMp1yZ+R9vmne7old7z9UvcxSi6C044g68ZQsofT0gA="; }; postPatch = '' From e26618d5f160a4e768126ab9ebbe5518a077c2fa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 Mar 2023 09:28:21 +0100 Subject: [PATCH 2/3] python310Packages.pymumble: fix description and add changelog --- pkgs/development/python-modules/pymumble/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymumble/default.nix b/pkgs/development/python-modules/pymumble/default.nix index cea692d852a0..1600924f1090 100644 --- a/pkgs/development/python-modules/pymumble/default.nix +++ b/pkgs/development/python-modules/pymumble/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "azlux"; repo = "pymumble"; rev = "refs/tags/${version}"; - sha256 = "sha256-NMp1yZ+R9vmne7old7z9UvcxSi6C044g68ZQsofT0gA="; + hash = "sha256-NMp1yZ+R9vmne7old7z9UvcxSi6C044g68ZQsofT0gA="; }; postPatch = '' @@ -42,8 +42,9 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Python 3 version of pymumble, Mumble library used for multiple uses like making mumble bot."; + description = "Library to create mumble bots"; homepage = "https://github.com/azlux/pymumble"; + changelog = "https://github.com/azlux/pymumble/releases/tag/${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ thelegy infinisil ]; }; From 2dac2163199113a5e7aed7201faaab4240fd1450 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 Mar 2023 09:30:31 +0100 Subject: [PATCH 3/3] python310Packages.pymumble: disable on unsupported Python releases --- pkgs/development/python-modules/pymumble/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pymumble/default.nix b/pkgs/development/python-modules/pymumble/default.nix index 1600924f1090..ffb2f33b1b21 100644 --- a/pkgs/development/python-modules/pymumble/default.nix +++ b/pkgs/development/python-modules/pymumble/default.nix @@ -1,17 +1,20 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchFromGitHub , isPy27 -, lib , opuslib , protobuf , pytestCheckHook , pycrypto +, pythonOlder }: buildPythonPackage rec { pname = "pymumble"; version = "1.7"; - disabled = isPy27; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "azlux";