nixpkgs/pkgs/development/python-modules/btrees/default.nix
R. RyanTM 924108c5bf python37Packages.BTrees: 4.5.1 -> 4.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-btrees/versions
2019-08-04 23:47:57 -07:00

35 lines
759 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, persistent
, zope_interface
, transaction
, zope_testrunner
}:
buildPythonPackage rec {
pname = "BTrees";
version = "4.6.0";
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 = "0bmkpg6z5z47p21340nyrfbdv2jkfp80yv085ndgbwaas1zi7ac9";
};
meta = with stdenv.lib; {
description = "Scalable persistent components";
homepage = http://packages.python.org/BTrees;
license = licenses.zpl21;
};
}