2018-04-05 18:50:53 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, six
|
2018-09-01 14:08:53 +01:00
|
|
|
, stdenv
|
2018-04-05 18:50:53 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "more-itertools";
|
2019-12-19 19:31:15 +00:00
|
|
|
version = "8.0.2";
|
2018-04-05 18:50:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:15 +00:00
|
|
|
sha256 = "b84b238cce0d9adad5ed87e745778d20a3f8487d0f0cb8b8a586816c7496458d";
|
2018-04-05 18:50:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2018-09-01 14:08:53 +01:00
|
|
|
# iterable = range(10 ** 10) # Is efficiently reversible
|
|
|
|
# OverflowError: Python int too large to convert to C long
|
|
|
|
doCheck = !stdenv.hostPlatform.is32bit;
|
|
|
|
|
2018-04-05 18:50:53 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://more-itertools.readthedocs.org";
|
2018-04-05 18:50:53 +01:00
|
|
|
description = "Expansion of the itertools module";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2018-09-01 14:08:53 +01:00
|
|
|
}
|