blob: 44c72f99228e4efa578f56541c198d1751f3ed9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
lib,
fetchPypi,
buildPythonPackage,
persistent,
zope-interface,
transaction,
zope-testrunner,
python,
setuptools,
}:
buildPythonPackage rec {
pname = "btrees";
version = "6.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Fga9/6erKMaACYRUC2le7oSPbhWwFF2Fj/SwxiZOjtI=";
};
build-system = [ setuptools ];
dependencies = [
persistent
zope-interface
];
nativeCheckInputs = [
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"
];
meta = {
description = "Scalable persistent components";
homepage = "http://packages.python.org/BTrees";
changelog = "https://github.com/zopefoundation/BTrees/blob/${version}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = [ ];
};
}
|