mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
Merge pull request #39678 from Ma27/fix-awscli
awscli: 1.14.50 -> 1.15.10; fix build
This commit is contained in:
commit
ff3fe105f2
@ -19,11 +19,11 @@ let
|
||||
|
||||
in py.pkgs.buildPythonApplication rec {
|
||||
pname = "awscli";
|
||||
version = "1.14.50";
|
||||
version = "1.15.10";
|
||||
|
||||
src = py.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yiwj7cl9r1k9226mdq6pcmrs044k7p3d133lzgv9rb1dgp4053c";
|
||||
sha256 = "0nwpanbfx5h0bad8wwvvbhpjf9r6n885bbv2w8mw7vijdgclkq8x";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
@ -42,6 +42,12 @@ in py.pkgs.buildPythonApplication rec {
|
||||
less
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
for i in {py,cfg}; do
|
||||
substituteInPlace setup.$i --replace "botocore==1.10.10" "botocore>=1.10.9,<=1.11"
|
||||
done
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
|
||||
|
Loading…
Reference in New Issue
Block a user