at 23.05-pre 980 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, python 5, zope_testrunner 6, transaction 7, six 8, zope_interface 9, zodbpickle 10, zconfig 11, persistent 12, zc_lockfile 13, BTrees 14, manuel 15}: 16 17buildPythonPackage rec { 18 pname = "ZODB"; 19 version = "5.7.0"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "sha256-+kC7wF7NoewkNc0MbdAqE7dphGBVikYENm9qCmhAHNM="; 24 }; 25 26 # remove broken test 27 postPatch = '' 28 rm -vf src/ZODB/tests/testdocumentation.py 29 ''; 30 31 propagatedBuildInputs = [ 32 transaction 33 six 34 zope_interface 35 zodbpickle 36 zconfig 37 persistent 38 zc_lockfile 39 BTrees 40 ]; 41 42 checkInputs = [ 43 manuel 44 zope_testrunner 45 ]; 46 47 checkPhase = '' 48 ${python.interpreter} -m zope.testrunner --test-path=src [] 49 ''; 50 51 meta = with lib; { 52 description = "Zope Object Database: object database and persistence"; 53 homepage = "https://pypi.python.org/pypi/ZODB"; 54 license = licenses.zpl21; 55 maintainers = with maintainers; [ goibhniu ]; 56 }; 57}