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 = "4.9.2";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-8j6yXqRbvKa/YgSwKKCn6qFz0ngdaP9XzVhhzBoNDtA=";
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 license = licenses.zpl21;
41 maintainers = with maintainers; [ ];
42 };
43}