2017-08-09 07:18:05 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, zope_testrunner
|
|
|
|
, transaction
|
|
|
|
, six
|
|
|
|
, zope_interface
|
|
|
|
, zodbpickle
|
|
|
|
, zconfig
|
|
|
|
, persistent
|
|
|
|
, zc_lockfile
|
|
|
|
, BTrees
|
|
|
|
, manuel
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ZODB";
|
2018-04-04 20:19:41 +02:00
|
|
|
version = "5.4.0";
|
2017-08-09 07:18:05 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:19:41 +02:00
|
|
|
sha256 = "0b306042f4f0d558a477d65c34b0dd6e7604c6e583f55dfda52befa2fa13e076";
|
2017-08-09 07:18:05 +02:00
|
|
|
};
|
|
|
|
|
2017-10-29 12:16:03 +01:00
|
|
|
patches = [
|
2018-09-13 13:34:28 +02:00
|
|
|
./ZODB-5.3.0-fix-tests.patch # still needeed with 5.4.0
|
|
|
|
# Upstream patch to fix tests with persistent 4.4,
|
|
|
|
# cannot fetchpatch because only one hunk of the upstream commit applies.
|
|
|
|
# TODO remove on next release
|
|
|
|
./fix-tests-with-persistent-4.4.patch
|
2017-10-29 12:16:03 +01:00
|
|
|
];
|
|
|
|
|
2017-08-09 07:18:05 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
transaction
|
|
|
|
six
|
|
|
|
zope_interface
|
|
|
|
zodbpickle
|
|
|
|
zconfig
|
|
|
|
persistent
|
|
|
|
zc_lockfile
|
|
|
|
BTrees
|
|
|
|
];
|
|
|
|
|
2018-09-13 13:34:28 +02:00
|
|
|
checkInputs = [
|
|
|
|
manuel
|
|
|
|
zope_testrunner
|
|
|
|
];
|
|
|
|
|
2017-08-09 07:18:05 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Zope Object Database: object database and persistence";
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://pypi.python.org/pypi/ZODB;
|
2017-08-09 07:18:05 +02:00
|
|
|
license = licenses.zpl21;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
}
|