Files
Martin Weinelt aca264faf3 python3Packages.z3c-checkversions: 2.1 -> 3.0
https://github.com/zopefoundation/z3c.checkversions/blob/3.0/CHANGES.rst

This commit was automatically generated using update-python-libraries.
2025-08-09 19:04:50 +02:00

41 lines
908 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
python,
pythonAtLeast,
zc-buildout,
zope-testrunner,
}:
buildPythonPackage rec {
pname = "z3c-checkversions";
version = "3.0";
format = "setuptools";
# distutils usage
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit version;
pname = "z3c.checkversions";
hash = "sha256-VMGSlocgEddBrUT0A4ihtCdhSbirWYe9FmQ0QyOGOEs=";
};
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";
mainProgram = "checkversions";
license = licenses.zpl21;
};
}