Merge pull request #247353 from tjni/awscli2

awscli2: unpin flit-core dependency

authored by Mario Rodas and committed by GitHub 04f88809 243c8180

+12 -1
+12 -1
pkgs/tools/admin/awscli2/default.nix
··· 3 , groff 4 , less 5 , fetchFromGitHub 6 , nix-update-script 7 , testers 8 , awscli2 ··· 33 hash = "sha256-gtzRHNEReCKzGDdiwS5kngcJYp5oAHmhnOPl/uTyxvU="; 34 }; 35 36 postPatch = '' 37 substituteInPlace pyproject.toml \ 38 - --replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2' 39 ''; 40 41 nativeBuildInputs = [
··· 3 , groff 4 , less 5 , fetchFromGitHub 6 + , fetchpatch 7 , nix-update-script 8 , testers 9 , awscli2 ··· 34 hash = "sha256-gtzRHNEReCKzGDdiwS5kngcJYp5oAHmhnOPl/uTyxvU="; 35 }; 36 37 + patches = [ 38 + # https://github.com/aws/aws-cli/pull/7912 39 + (fetchpatch { 40 + name = "update-flit-core.patch"; 41 + url = "https://github.com/aws/aws-cli/commit/83412a4b2ec750bada640a34a87bfe07ce41fb50.patch"; 42 + hash = "sha256-uhO6aOSptsARYWuXXEFhx+6rCW5/uGn2KQ15BnhzH68="; 43 + }) 44 + ]; 45 + 46 postPatch = '' 47 substituteInPlace pyproject.toml \ 48 + --replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2' \ 49 + --replace 'flit_core>=3.7.1,<3.8.1' 'flit_core>=3.7.1' 50 ''; 51 52 nativeBuildInputs = [