From 59695cfb7361bd13bacabe9c324ca0eb81118e1f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 1 Dec 2022 09:51:21 +0000 Subject: [PATCH 1/2] python310Packages.prefixed: 0.4.2 -> 0.5.0 --- pkgs/development/python-modules/prefixed/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prefixed/default.nix b/pkgs/development/python-modules/prefixed/default.nix index 5f6cf56465a1..6297898eb2e0 100644 --- a/pkgs/development/python-modules/prefixed/default.nix +++ b/pkgs/development/python-modules/prefixed/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "prefixed"; - version = "0.4.2"; + version = "0.5.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-gfTjvBUEbncnE6uA8IaQ5hxSzOsgFBQldU6rWwCxMMk="; + sha256 = "sha256-sTTXNBNiULF7aO7eZaM3D6sBNEEstmvIvjVo/wW9+OQ="; }; checkInputs = [ pytestCheckHook ]; From a80f8fe1a37c7e5719091210ef81c2c86b16c081 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 1 Dec 2022 20:03:54 +0100 Subject: [PATCH 2/2] python310Packages.prefixed: add changelog to meta - disable on unsupported Python releases --- .../python-modules/prefixed/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/prefixed/default.nix b/pkgs/development/python-modules/prefixed/default.nix index 6297898eb2e0..189494bfaa8a 100644 --- a/pkgs/development/python-modules/prefixed/default.nix +++ b/pkgs/development/python-modules/prefixed/default.nix @@ -2,24 +2,33 @@ , buildPythonPackage , fetchPypi , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "prefixed"; version = "0.5.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-sTTXNBNiULF7aO7eZaM3D6sBNEEstmvIvjVo/wW9+OQ="; + hash = "sha256-sTTXNBNiULF7aO7eZaM3D6sBNEEstmvIvjVo/wW9+OQ="; }; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; - pythonImportsCheck = [ "prefixed" ]; + pythonImportsCheck = [ + "prefixed" + ]; meta = with lib; { description = "Prefixed alternative numeric library"; homepage = "https://github.com/Rockhopper-Technologies/prefixed"; + changelog = "https://github.com/Rockhopper-Technologies/prefixed/releases/tag/${version}"; license = with licenses; [ mpl20 ]; maintainers = with maintainers; [ veprbl ]; };