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";
|
2018-08-13 08:27:12 +01:00
|
|
|
version = "4.3.0";
|
2018-04-05 18:50:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-13 08:27:12 +01:00
|
|
|
sha256 = "c476b5d3a34e12d40130bc2f935028b5f636df8f372dc2c1c01dc19681b2039e";
|
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 = {
|
|
|
|
homepage = https://more-itertools.readthedocs.org;
|
|
|
|
description = "Expansion of the itertools module";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2018-09-01 14:08:53 +01:00
|
|
|
}
|