mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
68b7de9e2e
a test case failed since the update to 4.5.1, disable it
35 lines
771 B
Nix
35 lines
771 B
Nix
{ stdenv
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, persistent
|
|
, zope_interface
|
|
, transaction
|
|
, zope_testrunner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "BTrees";
|
|
version = "4.5.1";
|
|
|
|
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 = "dcc096c3cf92efd6b9365951f89118fd30bc209c9af83bf050a28151a9992786";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Scalable persistent components";
|
|
homepage = http://packages.python.org/BTrees;
|
|
license = licenses.zpl21;
|
|
};
|
|
}
|