Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 50 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchPypi, isPyPy,
# build-systems setuptools,
# dependencies cffi, zope-deferredimport, zope-interface, pythonOlder,}:
buildPythonPackage rec { pname = "persistent"; version = "6.1.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-LTIbYOsH75APhals8HH/jDua7m5nm+zEjEbzRX6NnS8="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools < 74" "setuptools" '';
build-system = [ setuptools ];
dependencies = [ zope-interface zope-deferredimport ] ++ lib.optionals (!isPyPy) [ 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 = [ ]; };}