anchor.diff:  
     propagatedBuildInputs = [
       aiofiles
  +    anyio
       graphene
       itsdangerous
       jinja2
       python-multipart
       pyyaml
       requests
  -  ] ++ lib.optional stdenv.isDarwin [ ApplicationServices ];
  +  ] ++ lib.optionals (pythonOlder "3.8") [
  +    typing-extensions
  +  ] ++ lib.optionals (pythonOlder "3.7") [
  +    contextlib2
  +  ] ++ lib.optional stdenv.isDarwin [
  +    ApplicationServices
  +  ];
   
     checkInputs = [
       aiosqlite
       databases
       pytest-asyncio
       pytestCheckHook
  +    trio
       typing-extensions
     ];
   
  
positive.code: , requests
  , aiosqlite
  , databases
  , pytestCheckHook
  , pytest-asyncio
  , typing-extensions
  , ApplicationServices
  }:
  
  buildPythonPackage rec {
    pname = "starlette";
    version = "0.14.2";
    disabled = isPy27;
  
    src = fetchFromGitHub {
      owner = "encode";
      repo = pname;
      rev = version;
      sha256 = "0fz28czvwiww693ig9vwdja59xxs7m0yp1df32ms1hzr99666bia";
    };
  
    postPatch = ''
  
negative.code:     # fails to import graphql, but integrated graphql support is about to
      # be removed in 0.15, see https://github.com/encode/starlette/pull/1135.
      "tests/test_graphql.py"
    ];
  
    disabledTests = [
      # asserts fail due to inclusion of br in Accept-Encoding
      "test_websocket_headers"
      "test_request_headers"
    ];
  
    pythonImportsCheck = [ "starlette" ];
  