awscli2: 2.9.21 -> 2.10.0

This commit is contained in:
Anthony Roussel 2023-02-16 20:05:17 +01:00
parent 772ed5c1a2
commit c66aae629e
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

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 = ''