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
|
2024-01-13 08:15:51 +00:00
|
|
|
, zope-interface
|
2022-03-10 19:12:11 +00:00
|
|
|
, sphinx
|
|
|
|
, manuel
|
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "persistent";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "5.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;
|
2023-10-19 13:55:26 +00:00
|
|
|
hash = "sha256-l8zC+ibMm9zDvh/GWqT08or+UgTC1P0kpnRFkI23Rps=";
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
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/";
|
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
|
|
|
};
|
|
|
|
}
|