2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, six
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "more-itertools";
|
2021-12-26 17:43:05 +00:00
|
|
|
version = "8.12.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "7dc6ad46f05f545f900dd59e8dfb4e84a4827b97b3cfecb175ea0c7d247f6064";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = {
|
|
|
|
homepage = "https://more-itertools.readthedocs.org";
|
2021-04-05 15:23:46 +00:00
|
|
|
changelog = "https://more-itertools.readthedocs.io/en/stable/versions.html";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Expansion of the itertools module";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|