Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / zope-cachedescriptors / default.nix
blobe6aa92cd357b6c8ab73d6270a1f2b49744c658a0
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "zope-cachedescriptors";
10   version = "5.0";
12   format = "setuptools";
14   src = fetchPypi {
15     pname = "zope.cachedescriptors";
16     inherit version;
17     hash = "sha256-MVe+hm/Jck0Heotb9sP8IcOKQUerZk5yRiLf5fr/BIo=";
18   };
20   propagatedBuildInputs = [
21     setuptools
22   ];
24   nativeCheckInputs = [
25     pytestCheckHook
26   ];
28   pytestFlagsArray = [
29     "src/zope/cachedescriptors/tests.py"
30   ];
32   pythonImportsCheck = [ "zope.cachedescriptors" ];
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   };