e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
35 lines
801 B
Nix
35 lines
801 B
Nix
{ stdenv
|
|
, lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
, zc-buildout
|
|
, zope-testrunner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "z3c-checkversions";
|
|
version = "2.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "z3c.checkversions";
|
|
hash = "sha256-j5So40SyJf7XfCz3P9YFR/6z94up3LY2/dfEmmIbxAk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zc-buildout ];
|
|
|
|
nativeCheckInputs = [ zope-testrunner ];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} -m zope.testrunner --test-path=src []
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/zopefoundation/z3c.checkversions";
|
|
changelog = "https://github.com/zopefoundation/z3c.checkversions/blob/${version}/CHANGES.rst";
|
|
description = "Find newer package versions on PyPI";
|
|
license = licenses.zpl21;
|
|
};
|
|
}
|