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-03-30 09:31:56 +00:00
|
|
|
version = "4.9.0";
|
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-03-30 09:31:56 +00:00
|
|
|
hash = "sha256-RwGzHYHBBCJlclrzkEUOnZFq10ucF4twEAU4U1keDGo=";
|
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
|
|
|
};
|
|
|
|
}
|