anchor.diff:      jsonschema
       mock
       pytestCheckHook
  -    pytest-xdist
     ];
   
     postPatch = ''
  -    substituteInPlace setup.cfg \
  +    substituteInPlace pyproject.toml \
         --replace "colorama>=0.2.5,<0.4.4" "colorama" \
  -      --replace "cryptography>=3.3.2,<37.0.0" "cryptography" \
  +      --replace "distro>=1.5.0,<1.6.0" "distro" \
         --replace "docutils>=0.10,<0.16" "docutils" \
  -      --replace "ruamel.yaml>=0.15.0,<=0.17.21" "ruamel.yaml" \
  -      --replace "wcwidth<0.2.0" "wcwidth" \
  -      --replace "prompt-toolkit>=3.0.24,<3.0.29" "prompt-toolkit~=3.0" \
  -      --replace "distro>=1.5.0,<1.6.0" "distro"
  -  '';
  -
  -  checkPhase = ''
  -    export PATH=$PATH:$out/bin
  -
  -    # https://github.com/NixOS/nixpkgs/issues/16144#issuecomment-225422439
  -    export HOME=$TMP
  +      --replace "wcwidth<0.2.0" "wcwidth"
     '';
   
     postInstall = ''
  
positive.code:     rm $out/bin/aws.cmd
    '';
  
    passthru.python = py; # for aws_shell
  
    meta = with lib; {
      homepage = "https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html";
      changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst";
      description = "Unified tool to manage your AWS services";
      license = licenses.asl20;
      maintainers = with maintainers; [ bhipple davegallant bryanasdev000 devusb ];
    };
  }
  
negative.code: , groff
  , less
  , fetchFromGitHub
  , nix-update-script
  }:
  
  let
    py = python3.override {
      packageOverrides = self: super: {
  