Merge pull request #225663 from mweinelt/versioneer-toml

python310Packages.versioneer: Expose toml extra, update homepage
This commit is contained in:
Martin Weinelt 2023-04-11 13:21:12 +02:00 committed by GitHub
commit 9e9444a744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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