2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-06-19 11:58:46 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
, zc_buildout
|
|
|
|
, zope_testrunner
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "z3c-checkversions";
|
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "z3c.checkversions";
|
|
|
|
sha256 = "b45bd22ae01ed60933694fb5abede1ff71fe8ffa79b37082b2fcf38a2f0dec9d";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zc_buildout ];
|
|
|
|
checkInputs = [ zope_testrunner ];
|
2020-03-16 19:58:14 +00:00
|
|
|
doCheck = !python.pkgs.isPy27;
|
2019-06-19 11:58:46 +01:00
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m zope.testrunner --test-path=src []
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/zopefoundation/z3c.checkversions";
|
2019-06-19 11:58:46 +01:00
|
|
|
description = "Find newer package versions on PyPI";
|
|
|
|
license = licenses.zpl21;
|
|
|
|
};
|
|
|
|
}
|