841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
32 lines
744 B
Nix
32 lines
744 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, six
|
|
, stdenv
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
pname = "more-itertools";
|
|
version = "8.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "83f0308e05477c68f56ea3a888172c78ed5d5b3c282addb67508e7ba6c8f813a";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://more-itertools.readthedocs.io/en/stable/versions.html";
|
|
description = "Expansion of the itertools module";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|