mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
Merge pull request #247353 from tjni/awscli2
awscli2: unpin flit-core dependency
This commit is contained in:
commit
04f88809c1
@ -3,6 +3,7 @@
|
||||
, groff
|
||||
, less
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, testers
|
||||
, awscli2
|
||||
@ -33,9 +34,19 @@ with py.pkgs; buildPythonApplication rec {
|
||||
hash = "sha256-gtzRHNEReCKzGDdiwS5kngcJYp5oAHmhnOPl/uTyxvU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/aws/aws-cli/pull/7912
|
||||
(fetchpatch {
|
||||
name = "update-flit-core.patch";
|
||||
url = "https://github.com/aws/aws-cli/commit/83412a4b2ec750bada640a34a87bfe07ce41fb50.patch";
|
||||
hash = "sha256-uhO6aOSptsARYWuXXEFhx+6rCW5/uGn2KQ15BnhzH68=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2'
|
||||
--replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2' \
|
||||
--replace 'flit_core>=3.7.1,<3.8.1' 'flit_core>=3.7.1'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user