e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
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.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-l8zC+ibMm9zDvh/GWqT08or+UgTC1P0kpnRFkI23Rps=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|