Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
1001 B
Nix
42 lines
1001 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
pytestCheckHook,
|
|
six,
|
|
stdenv,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "more-itertools";
|
|
version = "10.7.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "more-itertools";
|
|
repo = "more-itertools";
|
|
tag = "v${version}";
|
|
hash = "sha256-4ZzuWVRrihhEoYRDAoYLZINR11iHs0sXF/bRm6gQoEA=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
nativeCheckInputs = [ 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";
|
|
downloadPage = "https://github.com/more-itertools/more-itertools";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|