anchor.diff:      # 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"
  -    # contextfunction was removed in Jinja 3.1
  -    "tests/test_templates.py"
  +  ];
  +
  +  disabledTests = [
  +    # asserts fail due to inclusion of br in Accept-Encoding
  +    "test_websocket_headers"
  +    "test_request_headers"
     ];
   
     pythonImportsCheck = [ "starlette" ];
  
positive.code: 
    propagatedBuildInputs = [
      aiofiles
      graphene
      itsdangerous
      jinja2
      python-multipart
      pyyaml
      requests
    ] ++ lib.optional stdenv.isDarwin [ ApplicationServices ];
  
    checkInputs = [
      aiosqlite
      databases
      pytest-asyncio
      pytestCheckHook
      typing-extensions
    ];
  
  
negative.code: , requests
  , aiosqlite
  , databases
  , pytest-asyncio
  , pytestCheckHook
  , pythonOlder
  , trio
  , typing-extensions
  , ApplicationServices
  }:
  
  buildPythonPackage rec {
    pname = "starlette";
    version = "0.16.0";
    disabled = pythonOlder "3.6";
  
    src = fetchFromGitHub {
      owner = "encode";
      repo = pname;
      rev = version;
      sha256 = "sha256-/NYhRRZdi6I7CtLCohAqK4prsSUayOxa6sBKIJhPv+w=";
    };
  
    postPatch = ''
  