nixpkgs-suyu/pkgs/development/python-modules/zodb/default.nix
OTABI Tomoya 414c52bbc6
Merge pull request #279227 from Stunkymonkey/zc-lockfile-normalize
python311Packages.zc-lockfile: rename from zc_lockfile
2024-01-14 10:21:14 +09:00

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.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-xsc6vTZg1gb/wfIfl97xS1K0b0pwLsnm7kSabiviZN8=";
};
# remove broken test
postPatch = ''
rm -vf src/ZODB/tests/testdocumentation.py
'';
propagatedBuildInputs = [
transaction
six
zope-interface
zodbpickle
zconfig
persistent
zc-lockfile
btrees
];
nativeCheckInputs = [
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 ];
};
}