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