biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / zodb / default.nix
blob704bbabebfc0f943db966ea8e81fb5c04667c349
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   python,
6   zope-testrunner,
7   transaction,
8   six,
9   zope-interface,
10   zodbpickle,
11   zconfig,
12   persistent,
13   zc-lockfile,
14   btrees,
15   manuel,
18 buildPythonPackage rec {
19   pname = "zodb";
20   version = "6.0";
22   src = fetchPypi {
23     pname = "ZODB";
24     inherit version;
25     hash = "sha256-5Rx5IRXF2q1OgGdXuvovdUwADCPmurw75eQHdf5Jtdw=";
26   };
28   # remove broken test
29   postPatch = ''
30     rm -vf src/ZODB/tests/testdocumentation.py
31   '';
33   propagatedBuildInputs = [
34     transaction
35     six
36     zope-interface
37     zodbpickle
38     zconfig
39     persistent
40     zc-lockfile
41     btrees
42   ];
44   nativeCheckInputs = [
45     manuel
46     zope-testrunner
47   ];
49   checkPhase = ''
50     ${python.interpreter} -m zope.testrunner --test-path=src []
51   '';
53   meta = with lib; {
54     description = "Zope Object Database: object database and persistence";
55     homepage = "https://zodb-docs.readthedocs.io/";
56     changelog = "https://github.com/zopefoundation/ZODB/blob/${version}/CHANGES.rst";
57     license = licenses.zpl21;
58     maintainers = [ ];
59   };