1{ lib
2, buildPythonPackage
3, cffi
4, fetchPypi
5, zope_interface
6, sphinx
7, manuel
8, pythonOlder
9}:
10
11buildPythonPackage rec {
12 pname = "persistent";
13 version = "5.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-l8zC+ibMm9zDvh/GWqT08or+UgTC1P0kpnRFkI23Rps=";
21 };
22
23 nativeBuildInputs = [
24 sphinx
25 manuel
26 ];
27
28 propagatedBuildInputs = [
29 zope_interface
30 cffi
31 ];
32
33 pythonImportsCheck = [
34 "persistent"
35 ];
36
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 };
44}