a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, python
|
|
, zope_testrunner
|
|
, transaction
|
|
, six
|
|
, zope_interface
|
|
, zodbpickle
|
|
, zconfig
|
|
, persistent
|
|
, zc_lockfile
|
|
, BTrees
|
|
, manuel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ZODB";
|
|
version = "5.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-KNugDvYm3hBYnt7auFrQ8O33KSXnXTahXJnGOsBf52Q=";
|
|
};
|
|
|
|
# remove broken test
|
|
postPatch = ''
|
|
rm -vf src/ZODB/tests/testdocumentation.py
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
transaction
|
|
six
|
|
zope_interface
|
|
zodbpickle
|
|
zconfig
|
|
persistent
|
|
zc_lockfile
|
|
BTrees
|
|
];
|
|
|
|
checkInputs = [
|
|
manuel
|
|
zope_testrunner
|
|
];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} -m zope.testrunner --test-path=src []
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Zope Object Database: object database and persistence";
|
|
homepage = "https://zodb-docs.readthedocs.io/";
|
|
changelog = "https://github.com/zopefoundation/ZODB/blob/${version}/CHANGES.rst";
|
|
license = licenses.zpl21;
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
};
|
|
}
|