From 465ed2142924d27cf4c331d761f0b74ac5b09209 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 Aug 2025 04:40:15 +0200 Subject: [PATCH] python3Packages.jaraco-itertools: 6.4.1 -> 6.4.3 This commit was automatically generated using update-python-libraries. --- .../jaraco-itertools/default.nix | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/jaraco-itertools/default.nix b/pkgs/development/python-modules/jaraco-itertools/default.nix index 07c1cd338518..971dbd9aba1c 100644 --- a/pkgs/development/python-modules/jaraco-itertools/default.nix +++ b/pkgs/development/python-modules/jaraco-itertools/default.nix @@ -1,41 +1,40 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, setuptools-scm, inflect, more-itertools, - six, - pytest, + pytestCheckHook, }: buildPythonPackage rec { pname = "jaraco-itertools"; - version = "6.4.1"; - format = "pyproject"; + version = "6.4.3"; + pyproject = true; - src = fetchPypi { - pname = "jaraco.itertools"; - inherit version; - hash = "sha256-MU/OVi67RepIIqmLvXsi5f6sfVEY28Gk8ess0Ea/+kc="; + src = fetchFromGitHub { + owner = "jaraco"; + repo = "jaraco.itertools"; + tag = "v${version}"; + hash = "sha256-LjWkyY9I8BBYpFm8TT3kq4vk63pNQrnZ15haJCQ5xlk="; }; pythonNamespaces = [ "jaraco" ]; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ + postPatch = '' + # downloads license texts at build time + sed -i "/coherent\.licensed/d" pyproject.toml + ''; + + dependencies = [ inflect more-itertools - six ]; - nativeCheckInputs = [ pytest ]; - # tests no longer available through pypi - doCheck = false; - checkPhase = '' - pytest - ''; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "jaraco.itertools" ];