Unverified Commit c66aae62 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

awscli2: 2.9.21 -> 2.10.0

parent 772ed5c1
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -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 = ''