diff options
Diffstat (limited to 'pkgs/development/python-modules/versioneer/default.nix')
-rw-r--r-- | pkgs/development/python-modules/versioneer/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/versioneer/default.nix b/pkgs/development/python-modules/versioneer/default.nix index 5976a307bf0a4..9a45044f9a07a 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 ]; |