anchor.diff:          };
           propagatedBuildInputs = super.botocore.propagatedBuildInputs ++ [py.pkgs.awscrt];
         });
  +
         prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
           version = "2.0.10";
           src = oldAttrs.src.override {
             inherit version;
             sha256 = "1nr990i4b04rnlw1ghd0xmgvvvhih698mb6lb6jylr76cs7zcnpi";
  -        };
  -      });
  -      s3transfer = super.s3transfer.overridePythonAttrs (oldAttrs: rec {
  -        version = "0.4.2";
  -        src = oldAttrs.src.override {
  -          inherit version;
  -          sha256 = "sha256-ywIvSxZVHt67sxo3fT8JYA262nNj2MXbeXbn9Hcy4bI=";
           };
         });
       };
  
positive.code: in
  with py.pkgs; buildPythonApplication rec {
    pname = "awscli2";
    version = "2.3.4"; # N.B: if you change this, change botocore to a matching version too
  
    src = fetchFromGitHub {
      owner = "aws";
      repo = "aws-cli";
      rev = version;
      sha256 = "sha256-C/NrU+1AixuN4T1N5Zs8xduUQiwuQWvXkitQRnPJdNw=";
    };
  
    postPatch = ''
      substituteInPlace setup.cfg \
        --replace "colorama>=0.2.5,<0.4.4" "colorama" \
        --replace "cryptography>=3.3.2,<3.4.0" "cryptography" \
        --replace "docutils>=0.10,<0.16" "docutils" \
        --replace "ruamel.yaml>=0.15.0,<0.16.0" "ruamel.yaml" \
        --replace "s3transfer>=0.4.2,<0.5.0" "s3transfer" \
        --replace "wcwidth<0.2.0" "wcwidth" \
        --replace "distro>=1.5.0,<1.6.0" "distro"
    '';
  
    checkInputs = [ jsonschema mock pytestCheckHook pytest-xdist ];
  
    propagatedBuildInputs = [
      awscrt
  
negative.code:     pyyaml
      rsa
      ruamel-yaml
      wcwidth
    ];
  
    checkInputs = [
      jsonschema
      mock
      pytestCheckHook
      pytest-xdist
    ];
  
    postPatch = ''
      substituteInPlace setup.cfg \
        --replace "colorama>=0.2.5,<0.4.4" "colorama" \
        --replace "cryptography>=3.3.2,<3.4.0" "cryptography" \
        --replace "docutils>=0.10,<0.16" "docutils" \
        --replace "ruamel.yaml>=0.15.0,<0.16.0" "ruamel.yaml" \
        --replace "wcwidth<0.2.0" "wcwidth" \
        --replace "distro>=1.5.0,<1.6.0" "distro"
    '';
  
    checkPhase = ''
      export PATH=$PATH:$out/bin
  