8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
43 lines
734 B
Nix
43 lines
734 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cffi
|
|
, fetchPypi
|
|
, zope_interface
|
|
, sphinx
|
|
, manuel
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "persistent";
|
|
version = "4.9.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-RwGzHYHBBCJlclrzkEUOnZFq10ucF4twEAU4U1keDGo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
sphinx
|
|
manuel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
zope_interface
|
|
cffi
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"persistent"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Automatic persistence for Python objects";
|
|
homepage = "https://github.com/zopefoundation/persistent/";
|
|
license = licenses.zpl21;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|