Commit 19b39206 authored by Anthony ROUSSEL's avatar Anthony ROUSSEL Committed by Anthony Roussel
Browse files
parent efe481b1
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -62,22 +62,20 @@ let
in
py.pkgs.buildPythonApplication rec {
  pname = "awscli2";
  version = "2.17.64"; # N.B: if you change this, check if overrides are still up-to-date
  version = "2.18.15"; # N.B: if you change this, check if overrides are still up-to-date
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aws";
    repo = "aws-cli";
    rev = "refs/tags/${version}";
    hash = "sha256-Hq86KhAIATSz3dF1zO6aSdZQAfLs4EcRqWglAOJUVGk=";
    hash = "sha256-dm4Z3WsFq5GQN6gvi5OS9J96PqhGx8Qz2OsHwUBrsAs=";
  };

  patches = [ ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail 'awscrt>=0.19.18,<=0.21.2' 'awscrt>=0.19.18' \
      --replace-fail 'cryptography>=40.0.0,<40.0.2' 'cryptography>=43.0.0' \
      --replace-fail 'awscrt>=0.19.18,<=0.22.0' 'awscrt>=0.22.0' \
      --replace-fail 'cryptography>=40.0.0,<43.0.2' 'cryptography>=43.0.0' \
      --replace-fail 'distro>=1.5.0,<1.9.0' 'distro>=1.5.0' \
      --replace-fail 'docutils>=0.10,<0.20' 'docutils>=0.10' \
      --replace-fail 'prompt-toolkit>=3.0.24,<3.0.39' 'prompt-toolkit>=3.0.24'