1{ stdenv
2, fetchPypi
3, buildPythonPackage
4, persistent
5, zope_interface
6, transaction
7, zope_testrunner
8}:
9
10buildPythonPackage rec {
11 pname = "BTrees";
12 version = "4.5.1";
13
14 buildInputs = [ transaction ];
15 propagatedBuildInputs = [ persistent zope_interface ];
16 checkInputs = [ zope_testrunner ];
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "dcc096c3cf92efd6b9365951f89118fd30bc209c9af83bf050a28151a9992786";
21 };
22
23 meta = with stdenv.lib; {
24 description = "Scalable persistent components";
25 homepage = http://packages.python.org/BTrees;
26 license = licenses.zpl21;
27 };
28}