nixpkgs-suyu/pkgs/development/python-modules/more-itertools/default.nix
2021-03-20 09:20:05 +01:00

32 lines
744 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, six
, stdenv
}:
buildPythonPackage rec {
pname = "more-itertools";
version = "8.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "c5d6da9ca3ff65220c3bfd2a8db06d698f05d4d2b9be57e1deb2be5a45019713";
};
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";
changelog = "https://more-itertools.readthedocs.io/en/stable/versions.html";
description = "Expansion of the itertools module";
license = lib.licenses.mit;
};
}