Merge pull request #216679 from anthonyroussel/awscli_2_10

awscli2: 2.9.21 -> 2.10.0
This commit is contained in:
Nick Cao 2023-02-18 10:58:49 +08:00 committed by GitHub
commit adc41db18f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,14 +25,14 @@ let
in
with py.pkgs; buildPythonApplication rec {
pname = "awscli2";
version = "2.9.23"; # N.B: if you change this, check if overrides are still up-to-date
version = "2.10.0"; # N.B: if you change this, check if overrides are still up-to-date
format = "pyproject";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-cli";
rev = version;
hash = "sha256-OaZ8Eax8XE4xGs5yHh+1P8mwEfHkFNEtY6ZGLQc8Thk=";
hash = "sha256-W05ZxpqamYqtFY/2mV2+XODCeuWRE9KhMdMkaAGAiTU=";
};
nativeBuildInputs = [
@ -64,10 +64,7 @@ with py.pkgs; buildPythonApplication rec {
];
postPatch = ''
sed -i pyproject.toml \
-e 's/colorama.*/colorama",/' \
-e 's/cryptography.*/cryptography",/' \
-e 's/distro.*/distro",/'
substituteInPlace pyproject.toml --replace "distro>=1.5.0,<1.6.0" "distro>=1.5.0"
'';
postInstall = ''