2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-06-28 07:12:43 +01:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, persistent
|
|
|
|
, zope_interface
|
|
|
|
, transaction
|
|
|
|
, zope_testrunner
|
2021-07-04 00:11:29 +01:00
|
|
|
, python
|
2018-06-28 07:12:43 +01:00
|
|
|
}:
|
2017-03-15 09:29:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "BTrees";
|
2021-06-18 22:47:10 +01:00
|
|
|
version = "4.9.2";
|
2017-03-15 09:29:27 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:10 +01:00
|
|
|
sha256 = "d33323655924192c4ac998d9ee3002e787915d19c1e17a6baf47c9a63d9556e3";
|
2017-03-15 09:29:27 +00:00
|
|
|
};
|
|
|
|
|
2021-07-04 00:11:29 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
persistent
|
|
|
|
zope_interface
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
transaction
|
|
|
|
zope_testrunner
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
runHook preCheck
|
|
|
|
${python.interpreter} -m zope.testrunner --test-path=src --auto-color --auto-progress
|
|
|
|
runHook postCheck
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"BTrees.OOBTree"
|
|
|
|
"BTrees.IOBTree"
|
|
|
|
"BTrees.IIBTree"
|
|
|
|
"BTrees.IFBTree"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-03-15 09:29:27 +00:00
|
|
|
description = "Scalable persistent components";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://packages.python.org/BTrees";
|
2017-08-06 12:49:18 +01:00
|
|
|
license = licenses.zpl21;
|
2021-07-04 00:11:29 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-03-15 09:29:27 +00:00
|
|
|
};
|
|
|
|
}
|