nixpkgs/pkgs/development/python-modules/persistent/default.nix
Martin Weinelt 8a828b97db python3Packages.persistent: 6.1.1 -> 6.5
https://github.com/zopefoundation/persistent/blob/6.5/CHANGES.rst

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:48 +01:00

43 lines
841 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPyPy,
# build-systems
setuptools,
# dependencies
cffi,
zope-deferredimport,
zope-interface,
}:
buildPythonPackage rec {
pname = "persistent";
version = "6.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-RwkiFZZTKYZRBcSMFSTp0mF6o88INaxiXDeUBPbL298=";
};
build-system = [ setuptools ];
dependencies = [
zope-interface
zope-deferredimport
]
++ lib.optionals (!isPyPy) [ cffi ];
pythonImportsCheck = [ "persistent" ];
meta = {
description = "Automatic persistence for Python objects";
homepage = "https://github.com/zopefoundation/persistent/";
changelog = "https://github.com/zopefoundation/persistent/blob/${version}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = [ ];
};
}