1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 setuptools,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "zope-deprecation";
12 version = "5.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 pname = "zope.deprecation";
19 inherit version;
20 hash = "sha256-t8MtM5IDayFFxAsxA+cyLbaGYqsJtyZ6/hUyqdk/ZA8=";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 pytestFlagsArray = [ "src/zope/deprecation/tests.py" ];
28
29 pythonImportsCheck = [ "zope.deprecation" ];
30
31 meta = with lib; {
32 homepage = "https://github.com/zopefoundation/zope.deprecation";
33 description = "Zope Deprecation Infrastructure";
34 changelog = "https://github.com/zopefoundation/zope.deprecation/blob/${version}/CHANGES.rst";
35 license = licenses.zpl21;
36 maintainers = with maintainers; [ domenkozar ];
37 };
38}