2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
python,
|
|
|
|
zope-testrunner,
|
|
|
|
transaction,
|
|
|
|
six,
|
|
|
|
zope-interface,
|
|
|
|
zodbpickle,
|
|
|
|
zconfig,
|
|
|
|
persistent,
|
|
|
|
zc-lockfile,
|
|
|
|
btrees,
|
|
|
|
manuel,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "zodb";
|
|
|
|
version = "6.0";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "ZODB";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-5Rx5IRXF2q1OgGdXuvovdUwADCPmurw75eQHdf5Jtdw=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# remove broken test
|
|
|
|
postPatch = ''
|
|
|
|
rm -vf src/ZODB/tests/testdocumentation.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
transaction
|
|
|
|
six
|
2024-01-13 08:15:51 +00:00
|
|
|
zope-interface
|
2021-09-18 10:52:07 +00:00
|
|
|
zodbpickle
|
|
|
|
zconfig
|
|
|
|
persistent
|
2024-01-25 14:12:00 +00:00
|
|
|
zc-lockfile
|
2023-03-15 16:39:30 +00:00
|
|
|
btrees
|
2021-09-18 10:52:07 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
manuel
|
2024-01-13 08:15:51 +00:00
|
|
|
zope-testrunner
|
2021-09-18 10:52:07 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m zope.testrunner --test-path=src []
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Zope Object Database: object database and persistence";
|
2022-12-17 10:02:37 +00:00
|
|
|
homepage = "https://zodb-docs.readthedocs.io/";
|
|
|
|
changelog = "https://github.com/zopefoundation/ZODB/blob/${version}/CHANGES.rst";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.zpl21;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = [ ];
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|