depot/third_party/nixpkgs/pkgs/development/python-modules/more-itertools/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

43 lines
896 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pytestCheckHook
, six
, stdenv
}:
buildPythonPackage rec {
pname = "more-itertools";
version = "9.1.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-yrqjQa0DieqDwXqUVmpTrkydBzSYYeyxTcbQNFz5rF0=";
};
nativeBuildInputs = [
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";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}