From a8585e705288ecfa8637e1b881f969c9183c4f5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Nov 2023 03:04:40 +0100 Subject: aws2cli: fix urllib3 build (#269351) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the build by setting up the PEP517 builder to satisfy the format/pyproject requirement of python derivations. > assert (pyproject != null) -> (format == null); Co-authored-by: Carl Hjerpe Co-authored-by: P. Co-authored-by: André Vitor de Lima Matos --- pkgs/tools/admin/awscli2/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pkgs/tools/admin') diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index b59f702701f7b..5582f63ffc0c0 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -19,10 +19,14 @@ let hash = "sha256-i3zml6LyEnUqNcGsQURx3BbEJMlXO+SSa1b/P10jt68="; }; }); - urllib3 = prev.urllib3.overridePythonAttrs (prev: { - format = "setuptools"; + urllib3 = prev.urllib3.overridePythonAttrs (prev: rec { + pyproject = true; + version = "1.26.18"; + nativeBuildInputs = with final; [ + setuptools + ]; src = prev.src.override { - version = "1.26.18"; + inherit version; hash = "sha256-+OzBu6VmdBNFfFKauVW/jGe0XbeZ0VkGYmFxnjKFgKA="; }; }); -- cgit 1.4.1