depot/third_party/nixpkgs/pkgs/development/python-modules/persistent/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

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; [ ];
};
}