mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
Merge pull request #216679 from anthonyroussel/awscli_2_10
awscli2: 2.9.21 -> 2.10.0
This commit is contained in:
commit
adc41db18f
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user