2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "versioneer";
|
2020-11-15 13:44:38 +00:00
|
|
|
version = "0.19";
|
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-15 13:44:38 +00:00
|
|
|
sha256 = "a4fed39bbebcbd2d07f8a86084773f303cb442709491955a0e6754858e47afae";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Couldn't get tests to work because, for instance, they used virtualenv and
|
|
|
|
# pip.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Version-string management for VCS-controlled trees";
|
|
|
|
homepage = "https://github.com/warner/python-versioneer";
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|