6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
44 lines
824 B
Nix
44 lines
824 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cffi
|
|
, fetchPypi
|
|
, zope_interface
|
|
, sphinx
|
|
, manuel
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "persistent";
|
|
version = "5.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hx5jxSExFgeVzcjpw90xP4bg3/NMFRyY3NkSPG2M5nM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
sphinx
|
|
manuel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
zope_interface
|
|
cffi
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"persistent"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Automatic persistence for Python objects";
|
|
homepage = "https://github.com/zopefoundation/persistent/";
|
|
changelog = "https://github.com/zopefoundation/persistent/blob/${version}/CHANGES.rst";
|
|
license = licenses.zpl21;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|