Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
904 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchPypi, isPyPy,
# build-systems setuptools,
# dependencies cffi, zope-deferredimport, zope-interface, pythonOlder,}:
buildPythonPackage rec { pname = "persistent"; version = "6.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-CDZQwP/ty4gDKJY8KUuVEaArawXkIec3p9Vfnu2I+18="; };
build-system = [ setuptools ];
propagatedBuildInputs = [ 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 = [ ]; };}