841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
34 lines
763 B
Nix
34 lines
763 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, persistent
|
|
, zope_interface
|
|
, transaction
|
|
, zope_testrunner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "BTrees";
|
|
version = "4.9.2";
|
|
|
|
buildInputs = [ transaction ];
|
|
propagatedBuildInputs = [ persistent zope_interface ];
|
|
checkInputs = [ zope_testrunner ];
|
|
|
|
# disable a failing test that looks broken
|
|
postPatch = ''
|
|
substituteInPlace BTrees/tests/common.py \
|
|
--replace "testShortRepr" "no_testShortRepr"
|
|
'';
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d33323655924192c4ac998d9ee3002e787915d19c1e17a6baf47c9a63d9556e3";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Scalable persistent components";
|
|
homepage = "http://packages.python.org/BTrees";
|
|
license = licenses.zpl21;
|
|
};
|
|
}
|