2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2022-03-10 19:12:11 +00:00
|
|
|
, cffi
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
2022-03-10 19:12:11 +00:00
|
|
|
, zope_interface
|
|
|
|
, sphinx
|
|
|
|
, manuel
|
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "persistent";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "4.9.1";
|
2022-03-10 19:12:11 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-10 19:12:11 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-22 12:36:57 +00:00
|
|
|
hash = "sha256-pfkeAJD5OS/TJNl/TCpjbJI5lYKCOM2i4/vMaxu8RoY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-10 19:12:11 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
sphinx
|
|
|
|
manuel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
zope_interface
|
|
|
|
cffi
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"persistent"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Automatic persistence for Python objects";
|
2022-03-10 19:12:11 +00:00
|
|
|
homepage = "https://github.com/zopefoundation/persistent/";
|
|
|
|
license = licenses.zpl21;
|
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|