3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/more-itertools/default.nix

32 lines
661 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, nose
, six
, stdenv
}:
buildPythonPackage rec {
pname = "more-itertools";
2019-10-24 07:47:39 +01:00
version = "7.2.0";
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:39 +01:00
sha256 = "409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832";
};
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;
description = "Expansion of the itertools module";
license = lib.licenses.mit;
};
}