python310Packages.versioneer: Expose toml extra, update homepage

This commit is contained in:
Martin Weinelt 2023-04-11 02:56:27 +02:00
parent 81c751e680
commit 539a0c7015
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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 ];