at master 1.2 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 python, 6 setuptools, 7 zope-testing, 8 zope-testrunner, 9 transaction, 10 zope-interface, 11 zodbpickle, 12 zconfig, 13 persistent, 14 zc-lockfile, 15 btrees, 16 manuel, 17}: 18 19buildPythonPackage rec { 20 pname = "zodb"; 21 version = "6.0.1"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "zopefoundation"; 26 repo = "zodb"; 27 tag = version; 28 hash = "sha256-2OK1ezHFEpOMOrpB8Nzf/6+4AlV3S7p11dQHkeMqhoo="; 29 }; 30 31 # remove broken test 32 postPatch = '' 33 rm -vf src/ZODB/tests/testdocumentation.py 34 ''; 35 36 build-system = [ setuptools ]; 37 38 dependencies = [ 39 transaction 40 zope-interface 41 zodbpickle 42 zconfig 43 persistent 44 zc-lockfile 45 btrees 46 ]; 47 48 nativeCheckInputs = [ 49 manuel 50 zope-testing 51 zope-testrunner 52 ]; 53 54 checkPhase = '' 55 ${python.interpreter} -m zope.testrunner --test-path=src [] 56 ''; 57 58 meta = { 59 description = "Zope Object Database: object database and persistence"; 60 homepage = "https://zodb-docs.readthedocs.io/"; 61 changelog = "https://github.com/zopefoundation/ZODB/blob/${version}/CHANGES.rst"; 62 license = lib.licenses.zpl21; 63 maintainers = [ ]; 64 }; 65}