3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/btrees/default.nix

35 lines
759 B
Nix
Raw Normal View History

{ stdenv
, fetchPypi
, buildPythonPackage
, persistent
, zope_interface
, transaction
, zope_testrunner
}:
2017-03-15 09:29:27 +00:00
buildPythonPackage rec {
pname = "BTrees";
version = "4.6.0";
2017-03-15 09:29:27 +00:00
buildInputs = [ transaction ];
propagatedBuildInputs = [ persistent zope_interface ];
checkInputs = [ zope_testrunner ];
2017-03-15 09:29:27 +00:00
# disable a failing test that looks broken
postPatch = ''
substituteInPlace BTrees/tests/common.py \
--replace "testShortRepr" "no_testShortRepr"
'';
2017-03-15 09:29:27 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0bmkpg6z5z47p21340nyrfbdv2jkfp80yv085ndgbwaas1zi7ac9";
2017-03-15 09:29:27 +00:00
};
meta = with stdenv.lib; {
description = "Scalable persistent components";
homepage = http://packages.python.org/BTrees;
license = licenses.zpl21;
2017-03-15 09:29:27 +00:00
};
}