2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
cffi,
|
|
|
|
fetchPypi,
|
|
|
|
zope-interface,
|
|
|
|
sphinx,
|
|
|
|
manuel,
|
|
|
|
pythonOlder,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "persistent";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "5.2";
|
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;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-2+pdH/nbTkUco5vAtCqepTfmyskoKujAeA+4/64+yDQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-10 19:12:11 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
sphinx
|
|
|
|
manuel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2024-01-13 08:15:51 +00:00
|
|
|
zope-interface
|
2022-03-10 19:12:11 +00:00
|
|
|
cffi
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "persistent" ];
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
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/";
|
2022-11-27 09:42:12 +00:00
|
|
|
changelog = "https://github.com/zopefoundation/persistent/blob/${version}/CHANGES.rst";
|
2022-03-10 19:12:11 +00:00
|
|
|
license = licenses.zpl21;
|
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|