1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "zope-cachedescriptors";
11 version = "5.0";
12
13 format = "setuptools";
14
15 src = fetchPypi {
16 pname = "zope.cachedescriptors";
17 inherit version;
18 hash = "sha256-MVe+hm/Jck0Heotb9sP8IcOKQUerZk5yRiLf5fr/BIo=";
19 };
20
21 propagatedBuildInputs = [ setuptools ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pytestFlagsArray = [ "src/zope/cachedescriptors/tests.py" ];
26
27 pythonImportsCheck = [ "zope.cachedescriptors" ];
28
29 meta = {
30 description = "Method and property caching decorators";
31 homepage = "https://github.com/zopefoundation/zope.cachedescriptors";
32 license = lib.licenses.zpl21;
33 maintainers = with lib.maintainers; [ dotlambda ];
34 };
35}