Files
nixpkgs/pkgs/development/python-modules/jaraco-itertools/default.nix
Martin Weinelt 465ed21429 python3Packages.jaraco-itertools: 6.4.1 -> 6.4.3
This commit was automatically generated using update-python-libraries.
2025-08-09 19:00:09 +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;
};
}