Skip to content

Commit

Permalink
awscli2: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deejayem committed Aug 15, 2024
1 parent d21eefe commit 5ca61c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/by-name/aw/awscli2/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ py.pkgs.buildPythonApplication rec {
hash = "sha256-HxFtMFeGR6XAMsP5LM0tvJ/ECWVpveIhWRTKvf8uYA0=";
};

patches = [
# Temporary test fix until https://github.com/aws/aws-cli/pull/8838 is merged upstream
(fetchpatch {
url = "https://github.com/aws/aws-cli/commit/b5f19fe136ab0752cd5fcab21ff0ab59bddbea99.patch";
hash = "sha256-NM+nVlpxGAHVimrlV0m30d4rkFVb11tiH8Y6//2QhMI=";
})
];

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'awscrt>=0.19.18,<=0.20.11' 'awscrt>=0.19.18' \
Expand Down

0 comments on commit 5ca61c4

Please sign in to comment.