Merge pull request #134689 from fabaff/bump-versioneer

This commit is contained in:
Sandro
2021-08-18 21:48:00 +02:00
committed by GitHub
@@ -1,25 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "versioneer";
version = "0.19";
disabled = isPy27;
version = "0.20";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "a4fed39bbebcbd2d07f8a86084773f303cb442709491955a0e6754858e47afae";
sha256 = "sha256-Ljk2AOwnF7efWcmE942TX3bkbEyu+HWoe4tO1gLy/2U=";
};
# Couldn't get tests to work because, for instance, they used virtualenv and
# pip.
doCheck = false;
pythonImportsCheck = [ "versioneer" ];
meta = with lib; {
description = "Version-string management for VCS-controlled trees";
homepage = "https://github.com/warner/python-versioneer";
license = licenses.publicDomain;
maintainers = with maintainers; [ jluttine ];
};
}