1{ 2 lib, 3 buildPythonPackage, 4 cffi, 5 fetchPypi, 6 zope-interface, 7 sphinx, 8 manuel, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "persistent"; 14 version = "5.2"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-2+pdH/nbTkUco5vAtCqepTfmyskoKujAeA+4/64+yDQ="; 22 }; 23 24 nativeBuildInputs = [ 25 sphinx 26 manuel 27 ]; 28 29 propagatedBuildInputs = [ 30 zope-interface 31 cffi 32 ]; 33 34 pythonImportsCheck = [ "persistent" ]; 35 36 meta = with lib; { 37 description = "Automatic persistence for Python objects"; 38 homepage = "https://github.com/zopefoundation/persistent/"; 39 changelog = "https://github.com/zopefoundation/persistent/blob/${version}/CHANGES.rst"; 40 license = licenses.zpl21; 41 maintainers = with maintainers; [ ]; 42 }; 43}