From 65ee1d74f8d41deeede026338a6d413661a0e3de Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 7 Dec 2023 07:14:31 +0100 Subject: [PATCH] python311Packages.voluptuous: refactor - add changelog to meta - add format - disable on unsupported Python releases --- pkgs/development/python-modules/voluptuous/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/voluptuous/default.nix b/pkgs/development/python-modules/voluptuous/default.nix index 3eef87006262..47e3d029106b 100644 --- a/pkgs/development/python-modules/voluptuous/default.nix +++ b/pkgs/development/python-modules/voluptuous/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , setuptools , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { @@ -10,9 +11,11 @@ buildPythonPackage rec { version = "0.14.1"; pyproject = true; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "alecthomas"; - repo = pname; + repo = "voluptuous"; rev = "refs/tags/${version}"; hash = "sha256-7KXuypcKoqZboHTzoNKK5sYUR57wWGJu6y9zkLecep0="; }; @@ -37,6 +40,7 @@ buildPythonPackage rec { description = "Python data validation library"; downloadPage = "https://github.com/alecthomas/voluptuous"; homepage = "http://alecthomas.github.io/voluptuous/"; + changelog = "https://github.com/alecthomas/voluptuous/blob/${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; };