anchor.diff:  { lib
  -, buildPythonPackage
  -, fetchPypi
  -, pythonOlder
   , attrs
   , botocore
  +, buildPythonPackage
   , click
  -, enum-compat
  +, fetchFromGitHub
   , hypothesis
   , inquirer
   , jmespath
   , mock
   , mypy-extensions
   , pip
  -, pytest
  +, pytestCheckHook
  +, pythonOlder
   , pyyaml
  +, requests
   , setuptools
   , six
  -, typing ? null
  +, typing
   , watchdog
  +, websocket-client
   , wheel
   }:
   
  
positive.code:       --replace 'typing==3.6.4' 'typing'
    '';
  
    checkPhase = ''
      pytest tests
    '';
  
    meta = with lib; {
      description = "Python Serverless Microframework for AWS";
      homepage = "https://github.com/aws/chalice";
      license = licenses.asl20;
      maintainers = [ maintainers.costrouc ];
    };
  }
  
negative.code:     setuptools
      six
      wheel
      watchdog
    ] ++ lib.optionals (pythonOlder "3.7") [
      typing
    ];
  
    checkInputs = [
      hypothesis
      mock
      pytestCheckHook
      requests
      websocket-client
    ];
  
    postPatch = ''
      sed -i setup.py -e "/pip>=/c\'pip',"
  