Files
nixpkgs/pkgs/development/python-modules/jaraco-itertools/default.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
904 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
inflect,
more-itertools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jaraco-itertools";
version = "6.4.3";
pyproject = true;
src = fetchFromGitHub {
owner = "jaraco";
repo = "jaraco.itertools";
tag = "v${version}";
hash = "sha256-LjWkyY9I8BBYpFm8TT3kq4vk63pNQrnZ15haJCQ5xlk=";
};
pythonNamespaces = [ "jaraco" ];
build-system = [ setuptools-scm ];
postPatch = ''
# downloads license texts at build time
sed -i "/coherent\.licensed/d" pyproject.toml
'';
dependencies = [
inflect
more-itertools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jaraco.itertools" ];
meta = with lib; {
description = "Tools for working with iterables";
homepage = "https://github.com/jaraco/jaraco.itertools";
license = licenses.mit;
};
}