2017-08-09 07:18:05 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
2018-12-03 12:16:13 +01:00
|
|
|
, python
|
2017-08-09 07:18:05 +02:00
|
|
|
, zope_testrunner
|
|
|
|
, transaction
|
|
|
|
, six
|
|
|
|
, zope_interface
|
|
|
|
, zodbpickle
|
|
|
|
, zconfig
|
|
|
|
, persistent
|
|
|
|
, zc_lockfile
|
|
|
|
, BTrees
|
|
|
|
, manuel
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ZODB";
|
2018-11-04 11:35:22 +01:00
|
|
|
version = "5.5.1";
|
2017-08-09 07:18:05 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:35:22 +01:00
|
|
|
sha256 = "20155942fa326e89ad8544225bafd74237af332ce9d7c7105a22318fe8269666";
|
2017-08-09 07:18:05 +02:00
|
|
|
};
|
|
|
|
|
2018-12-03 12:16:13 +01:00
|
|
|
# remove broken test
|
|
|
|
postPatch = ''
|
|
|
|
rm -vf src/ZODB/tests/testdocumentation.py
|
|
|
|
'';
|
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
|
|
|
|
];
|
|
|
|
|
2018-12-03 12:16:13 +01:00
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m zope.testrunner --test-path=src []
|
|
|
|
'';
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|