awscli: 1.14.50 -> 1.15.10; fix build
As reported in #39676 the build broke because of ca52152 as the bump of `pythonPackages.botocore` to 1.10.9 clashed with the wanted dependencies in `awscli`. In order to reduce the risk of accidental bugs because of loosened version constraints I bumped the AWS CLI to `1.15.10` which depends on `botocore@1.10` as well. Fixes #39676
This commit is contained in:
parent
8d6d1363de
commit
0e5eafc1fd
@ -19,11 +19,11 @@ let
|
|||||||
|
|
||||||
in py.pkgs.buildPythonApplication rec {
|
in py.pkgs.buildPythonApplication rec {
|
||||||
pname = "awscli";
|
pname = "awscli";
|
||||||
version = "1.14.50";
|
version = "1.15.10";
|
||||||
|
|
||||||
src = py.pkgs.fetchPypi {
|
src = py.pkgs.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1yiwj7cl9r1k9226mdq6pcmrs044k7p3d133lzgv9rb1dgp4053c";
|
sha256 = "0nwpanbfx5h0bad8wwvvbhpjf9r6n885bbv2w8mw7vijdgclkq8x";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests included
|
# No tests included
|
||||||
@ -42,6 +42,12 @@ in py.pkgs.buildPythonApplication rec {
|
|||||||
less
|
less
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
for i in {py,cfg}; do
|
||||||
|
substituteInPlace setup.$i --replace "botocore==1.10.10" "botocore>=1.10.9,<=1.11"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/etc/bash_completion.d
|
mkdir -p $out/etc/bash_completion.d
|
||||||
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
|
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
|
||||||
|
Loading…
x
Reference in New Issue
Block a user