nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 841 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPyPy, 6 7 # build-systems 8 setuptools, 9 10 # dependencies 11 cffi, 12 zope-deferredimport, 13 zope-interface, 14}: 15 16buildPythonPackage rec { 17 pname = "persistent"; 18 version = "6.5"; 19 pyproject = true; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-RwkiFZZTKYZRBcSMFSTp0mF6o88INaxiXDeUBPbL298="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 zope-interface 30 zope-deferredimport 31 ] 32 ++ lib.optionals (!isPyPy) [ cffi ]; 33 34 pythonImportsCheck = [ "persistent" ]; 35 36 meta = { 37 description = "Automatic persistence for Python objects"; 38 homepage = "https://github.com/zopefoundation/persistent/"; 39 changelog = "https://github.com/zopefoundation/persistent/blob/${version}/CHANGES.rst"; 40 license = lib.licenses.zpl21; 41 maintainers = [ ]; 42 }; 43}