2018-04-05 19:50:53 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, six
|
2018-09-01 15:08:53 +02:00
|
|
|
, stdenv
|
2018-04-05 19:50:53 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "more-itertools";
|
2019-02-14 08:37:20 +01:00
|
|
|
version = "6.0.0";
|
2018-04-05 19:50:53 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 08:37:20 +01:00
|
|
|
sha256 = "590044e3942351a1bdb1de960b739ff4ce277960f2425ad4509446dbace8d9d1";
|
2018-04-05 19:50:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2018-09-01 15:08:53 +02: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 19:50:53 +02:00
|
|
|
meta = {
|
|
|
|
homepage = https://more-itertools.readthedocs.org;
|
|
|
|
description = "Expansion of the itertools module";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2018-09-01 15:08:53 +02:00
|
|
|
}
|