2019-02-14 07:37:20 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, six
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "more-itertools";
|
|
|
|
version = "5.0.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
# iterable = range(10 ** 10) # Is efficiently reversible
|
|
|
|
# OverflowError: Python int too large to convert to C long
|
|
|
|
doCheck = !stdenv.hostPlatform.is32bit;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://more-itertools.readthedocs.org";
|
2019-02-14 07:37:20 +00:00
|
|
|
description = "Expansion of the itertools module";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|