Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / persistent / default.nix
blobefe366123bdf7e6b3f595937eb75c5f5b59f9e71
1 { lib
2 , buildPythonPackage
3 , cffi
4 , fetchPypi
5 , zope_interface
6 , sphinx
7 , manuel
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "persistent";
13   version = "5.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-l8zC+ibMm9zDvh/GWqT08or+UgTC1P0kpnRFkI23Rps=";
21   };
23   nativeBuildInputs = [
24     sphinx
25     manuel
26   ];
28   propagatedBuildInputs = [
29     zope_interface
30     cffi
31   ];
33   pythonImportsCheck = [
34     "persistent"
35   ];
37   meta = with lib; {
38     description = "Automatic persistence for Python objects";
39     homepage = "https://github.com/zopefoundation/persistent/";
40     changelog = "https://github.com/zopefoundation/persistent/blob/${version}/CHANGES.rst";
41     license = licenses.zpl21;
42     maintainers = with maintainers; [ ];
43   };