1{ lib, buildPythonPackage, fetchPypi, isPy27 }:
2
3
4buildPythonPackage rec {
5 pname = "versioneer";
6 version = "0.19";
7 disabled = isPy27;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "a4fed39bbebcbd2d07f8a86084773f303cb442709491955a0e6754858e47afae";
12 };
13
14 # Couldn't get tests to work because, for instance, they used virtualenv and
15 # pip.
16 doCheck = false;
17
18 meta = with lib; {
19 description = "Version-string management for VCS-controlled trees";
20 homepage = "https://github.com/warner/python-versioneer";
21 license = licenses.publicDomain;
22 maintainers = with maintainers; [ jluttine ];
23 };
24
25}