2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, python
|
2024-01-13 08:15:51 +00:00
|
|
|
, zope-testrunner
|
2020-04-24 23:36:52 +00:00
|
|
|
, transaction
|
|
|
|
, six
|
2024-01-13 08:15:51 +00:00
|
|
|
, zope-interface
|
2020-04-24 23:36:52 +00:00
|
|
|
, zodbpickle
|
|
|
|
, zconfig
|
|
|
|
, persistent
|
|
|
|
, zc_lockfile
|
2023-03-15 16:39:30 +00:00
|
|
|
, btrees
|
2020-04-24 23:36:52 +00:00
|
|
|
, manuel
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "ZODB";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "5.8.1";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-xsc6vTZg1gb/wfIfl97xS1K0b0pwLsnm7kSabiviZN8=";
|
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
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|