2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
2018-01-14 13:10:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "versioneer";
|
2020-11-14 21:37:14 +00:00
|
|
|
version = "0.19";
|
2020-11-15 07:58:07 +00:00
|
|
|
disabled = isPy27;
|
2018-01-14 13:10:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-14 21:37:14 +00:00
|
|
|
sha256 = "a4fed39bbebcbd2d07f8a86084773f303cb442709491955a0e6754858e47afae";
|
2018-01-14 13:10:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Couldn't get tests to work because, for instance, they used virtualenv and
|
|
|
|
# pip.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-14 13:10:31 +00:00
|
|
|
description = "Version-string management for VCS-controlled trees";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/warner/python-versioneer";
|
2018-01-14 13:10:31 +00:00
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|