awscli2: 2.4.23 -> 2.5.6 (#169441)

This commit is contained in:
Jörg Thalheim 2022-04-20 18:22:47 +01:00 committed by GitHub
parent e37ced1501
commit b261356146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,24 +8,20 @@ let
py = python3.override { py = python3.override {
packageOverrides = self: super: { packageOverrides = self: super: {
awscrt = super.awscrt.overridePythonAttrs (oldAttrs: rec { awscrt = super.awscrt.overridePythonAttrs (oldAttrs: rec {
version = "0.12.4"; version = "0.13.5";
src = self.fetchPypi { src = self.fetchPypi {
inherit (oldAttrs) pname; inherit (oldAttrs) pname;
inherit version; inherit version;
sha256 = "sha256:1cmfkcv2zzirxsb989vx1hvna9nv24pghcvypl0zaxsjphv97mka"; sha256 = "sha256-dUNljMKsbl6eByhEYivWgRJczTBw3N1RVl8r3e898mg=";
}; };
}); });
jmespath = super.jmespath.overridePythonAttrs (oldAttrs: rec {
botocore = super.botocore.overridePythonAttrs (oldAttrs: rec { version = "0.10.0";
# Releases: https://github.com/boto/botocore/commits/v2 src = self.fetchPypi {
version = "2.0.0dev155"; inherit (oldAttrs) pname;
src = fetchFromGitHub { inherit version;
owner = "boto"; sha256 = "sha256-uF0FZ7hmYUmpMXJxLmiSBzQzPAzn6Jt4s+mH9x5e1Pk=";
repo = "botocore";
rev = "7083e5c204e139dc41f646e0ad85286b5e7c0c23";
sha256 = "sha256-aiCc/CXoTem0a9wI/AMBRK3g2BXJi7LpnUY/BxBEKVM=";
}; };
propagatedBuildInputs = super.botocore.propagatedBuildInputs ++ [ py.pkgs.awscrt ];
}); });
}; };
}; };
@ -33,19 +29,18 @@ let
in in
with py.pkgs; buildPythonApplication rec { with py.pkgs; buildPythonApplication rec {
pname = "awscli2"; pname = "awscli2";
version = "2.4.23"; # N.B: if you change this, change botocore to a matching version too version = "2.5.6"; # N.B: if you change this, check if overrides are still up-to-date
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws"; owner = "aws";
repo = "aws-cli"; repo = "aws-cli";
rev = version; rev = version;
sha256 = "sha256-zpkphlIfmexqZm0lZgDP3RoQJqTpFdT+5dGtaLiRr/U="; sha256 = "sha256-NANdm2RK4U5sXPuGbC8KUGXsbYl/WwAoUep4JxJA5lI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
awscrt awscrt
bcdoc bcdoc
botocore
colorama colorama
cryptography cryptography
distro distro
@ -57,6 +52,9 @@ with py.pkgs; buildPythonApplication rec {
rsa rsa
ruamel-yaml ruamel-yaml
wcwidth wcwidth
dateutil
jmespath
urllib3
]; ];
checkInputs = [ checkInputs = [