nixpkgs/pkgs/development/python2-modules/more-itertools/default.nix
Frederik Rietdijk ae18d68b6b python2.pkgs: move expressions into python2-modules/ folder
Another step in further separating python2 from python3.
2022-01-16 10:00:16 +01:00

32 lines
663 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, six
, stdenv
}:
buildPythonPackage rec {
pname = "more-itertools";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
};
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;
};
}