From 539a0c7015520cd40bdb7fbe7166323b27ccfa14 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 11 Apr 2023 02:56:27 +0200 Subject: [PATCH] python310Packages.versioneer: Expose toml extra, update homepage --- pkgs/development/python-modules/versioneer/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/versioneer/default.nix b/pkgs/development/python-modules/versioneer/default.nix index 5976a307bf0a..9a45044f9a07 100644 --- a/pkgs/development/python-modules/versioneer/default.nix +++ b/pkgs/development/python-modules/versioneer/default.nix @@ -26,6 +26,12 @@ buildPythonPackage rec { tomli ]; + passthru.optional-dependencies = { + toml = lib.optionals (pythonOlder "3.11") [ + tomli + ]; + }; + # Couldn't get tests to work because, for instance, they used virtualenv and pip doCheck = false; @@ -35,7 +41,7 @@ buildPythonPackage rec { meta = with lib; { description = "Version-string management for VCS-controlled trees"; - homepage = "https://github.com/warner/python-versioneer"; + homepage = "https://github.com/python-versioneer/python-versioneer"; changelog = "https://github.com/python-versioneer/python-versioneer/blob/${version}/NEWS.md"; license = licenses.publicDomain; maintainers = with maintainers; [ jluttine ];