nixpkgs/pkgs/development/python-modules/btrees/default.nix

35 lines
763 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
, persistent
, zope_interface
, transaction
, zope_testrunner
}:
2017-03-15 09:29:27 +00:00
buildPythonPackage rec {
pname = "BTrees";
2020-06-06 07:47:00 +01:00
version = "4.7.2";
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;
2020-06-06 07:47:00 +01:00
sha256 = "7ce4a5eb5c135bcb5c06b5bd1ca6fd7fd39d8631306182307ed8bc30d3033846";
2017-03-15 09:29:27 +00:00
};
meta = with lib; {
2017-03-15 09:29:27 +00:00
description = "Scalable persistent components";
homepage = "http://packages.python.org/BTrees";
license = licenses.zpl21;
2017-03-15 09:29:27 +00:00
};
}