diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-23 03:04:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 03:04:40 +0100 |
commit | a8585e705288ecfa8637e1b881f969c9183c4f5c (patch) | |
tree | a924ec85ffa42236f6e8ba2c047bdcb5f3764ace | |
parent | b5387afec6085a31d26076d0c57998985947a9fe (diff) |
aws2cli: fix urllib3 build (#269351)
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 <git@hjerpe.xyz> Co-authored-by: P. <WolfangAukang@users.noreply.github.com> Co-authored-by: André Vitor de Lima Matos <andre.vmatos@gmail.com>
-rw-r--r-- | pkgs/tools/admin/awscli2/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
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="; }; }); |