anchor.diff:            sha256 = "1nr990i4b04rnlw1ghd0xmgvvvhih698mb6lb6jylr76cs7zcnpi";
           };
         });
  +      s3transfer = super.s3transfer.overridePythonAttrs (oldAttrs: rec {
  +        version = "0.4.2";
  +        src = oldAttrs.src.override {
  +          inherit version;
  +          sha256 = "sha256-ywIvSxZVHt67sxo3fT8JYA262nNj2MXbeXbn9Hcy4bI=";
  +        };
  +      });
       };
     };
   
   in
   with py.pkgs; buildPythonApplication rec {
     pname = "awscli2";
  -  version = "2.1.35"; # N.B: if you change this, change botocore to a matching version too
  +  version = "2.2.1"; # N.B: if you change this, change botocore to a matching version too
   
     src = fetchFromGitHub {
       owner = "aws";
       repo = "aws-cli";
       rev = version;
  -    sha256 = "sha256-YgzagbbVLlGSPIhck0YaJg3gQGEdoqXtLapN04Q6hLw=";
  +    sha256 = "sha256-TafYBkRlPCqewGBMgTfcX8kLtDhSCdiUYK1xXofKrLk=";
     };
   
     postPatch = ''
  
positive.code:     substituteInPlace setup.py --replace "wcwidth<0.2.0" "wcwidth"
    '';
  
    # No tests included
    doCheck = false;
  
    propagatedBuildInputs = [
      bcdoc
      botocore
      colorama
  
negative.code:     six
      wcwidth
    ];
  
    checkPhase = ''
      export PATH=$PATH:$out/bin
  
      # https://github.com/NixOS/nixpkgs/issues/16144#issuecomment-225422439
      export HOME=$TMP
  
      AWS_TEST_COMMAND=$out/bin/aws python scripts/ci/run-tests
    '';
  
    postInstall = ''
      mkdir -p $out/${python3.sitePackages}/awscli/data
  