02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
43 lines
888 B
Nix
43 lines
888 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flit-core
|
|
, pytestCheckHook
|
|
, six
|
|
, stdenv
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "more-itertools";
|
|
version = "8.13.0";
|
|
format = "flit";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-pCkBoKWxadkl9vIXzVoZDjLvVDYJBbnDnufbUxO/7A8=";
|
|
};
|
|
|
|
nativeBuildInouts = [
|
|
flit-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
# iterable = range(10 ** 10) # Is efficiently reversible
|
|
# OverflowError: Python int too large to convert to C long
|
|
doCheck = !stdenv.hostPlatform.is32bit;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://more-itertools.readthedocs.org";
|
|
changelog = "https://more-itertools.readthedocs.io/en/stable/versions.html";
|
|
description = "Expansion of the itertools module";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|