blob: 5ba265990c9df0d75e8cf8ffc4304dd2b0983743 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
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 = {
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 = lib.licenses.zpl21;
};
}
|