2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 15:47:15 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "versiontools";
|
|
|
|
version = "1.9.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1xhl6kl7f4srgnw6zw4lr8j2z5vmrbaa83nzn2c9r2m1hwl36sd9";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = (!isPy3k);
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://launchpad.net/versiontools";
|
2018-10-29 15:47:15 +00:00
|
|
|
description = "Smart replacement for plain tuple used in __version__";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|