anchor.diff:      pytestCheckHook
     ];
   
  +  postPatch = ''
  +    substituteInPlace setup.py \
  +      --replace "pytest-runner" ""
  +    # Remove all version pinning
  +    sed -i -e "s/==[0-9.]*//" requirements/requirements.txt
  +  '';
  +
  +  disabledTestPaths = [
  +    # Test doesn't work in the sandbox
  +    "tests/protocols/companion/test_companion_auth.py"
  +  ];
  +
     __darwinAllowLocalNetworking = true;
   
     pythonImportsCheck = [
  
positive.code: buildPythonPackage rec {
    pname = "pyatv";
    version = "0.9.6";
  
    format = "setuptools";
    disabled = pythonOlder "3.6";
  
    src = fetchFromGitHub {
  
negative.code:     rev = "v${version}";
      sha256 = "0navm7a0k1679kj7nbkbyl7s2q0wq0xmcnizmnvp0arkd5xqmqv1";
    };
  
    propagatedBuildInputs = [
      aiohttp
  