From e07db3e3795205a024905685450630a27315c08d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 May 2023 22:10:44 +0200 Subject: [PATCH 1/2] python310Packages.inform: 1.27 -> 1.28 Diff: https://github.com/KenKundert/inform/compare/refs/tags/v1.27...v1.28 --- pkgs/development/python-modules/inform/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/inform/default.nix b/pkgs/development/python-modules/inform/default.nix index 7dd4a5675cd7..69da3bcf02b3 100644 --- a/pkgs/development/python-modules/inform/default.nix +++ b/pkgs/development/python-modules/inform/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "inform"; - version = "1.27"; + version = "1.28"; format = "pyproject"; src = fetchFromGitHub { owner = "KenKundert"; repo = "inform"; rev = "refs/tags/v${version}"; - hash = "sha256-SvE+UAGpUomUBHlH4aYZ1BYmLp3BherRjosKsIaOA/s="; + hash = "sha256-RA8/or3HTS/rQmG4A/Eg5j24YElaTEpnHa1yksARVMQ="; }; nativeBuildInputs = [ From 92fa862d74e8991b0c43a719c7508c991f188f33 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 May 2023 22:13:31 +0200 Subject: [PATCH 2/2] python310Packages.inform: add changelog to meta - disable on unsupported Python releases --- pkgs/development/python-modules/inform/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/inform/default.nix b/pkgs/development/python-modules/inform/default.nix index 69da3bcf02b3..a95e9e9cc8e8 100644 --- a/pkgs/development/python-modules/inform/default.nix +++ b/pkgs/development/python-modules/inform/default.nix @@ -6,6 +6,7 @@ , six , hypothesis , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { @@ -13,6 +14,8 @@ buildPythonPackage rec { version = "1.28"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "KenKundert"; repo = "inform"; @@ -46,6 +49,7 @@ buildPythonPackage rec { allow you to simply and cleanly print different types of messages. ''; homepage = "https://inform.readthedocs.io"; + changelog = "https://github.com/KenKundert/inform/blob/v${version}/doc/releases.rst"; license = licenses.gpl3Only; maintainers = with maintainers; [ jeremyschlatter ]; };