anchor.diff:      substituteInPlace setup.py --replace "wcwidth<0.2.0" "wcwidth"
     '';
   
  -  # No tests included
  -  doCheck = false;
  +  checkInputs = [ jsonschema mock nose ];
   
     propagatedBuildInputs = [
  +    awscrt
       bcdoc
       botocore
       colorama
  
positive.code:           sha256 = "1nr990i4b04rnlw1ghd0xmgvvvhih698mb6lb6jylr76cs7zcnpi";
          };
        });
      };
    };
  
  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
  
    src = fetchFromGitHub {
      owner = "aws";
      repo = "aws-cli";
      rev = version;
      sha256 = "sha256-YgzagbbVLlGSPIhck0YaJg3gQGEdoqXtLapN04Q6hLw=";
    };
  
    postPatch = ''
  
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
  