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