From 5f1c4f33a8c42a1b5b5fb72e5a21c14fae2feb8d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 19 Jan 2023 08:55:58 +0100 Subject: [PATCH] python310Packages.trove-classifiers: add changelog to meta - disable on unsupported Python releases --- .../development/python-modules/trove-classifiers/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/trove-classifiers/default.nix b/pkgs/development/python-modules/trove-classifiers/default.nix index 7a266ca7259b..c8dbe1ffe51e 100644 --- a/pkgs/development/python-modules/trove-classifiers/default.nix +++ b/pkgs/development/python-modules/trove-classifiers/default.nix @@ -3,14 +3,16 @@ , fetchPypi , calver , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "trove-classifiers"; version = "2023.1.12"; - format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; hash = "sha256-66Rg2DJg/PNkjXyKy/IgQ0T9eF+JD7rstoZKf7nwaS4="; @@ -29,6 +31,7 @@ buildPythonPackage rec { meta = { description = "Canonical source for classifiers on PyPI"; homepage = "https://github.com/pypa/trove-classifiers"; + changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; };