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