anchor.diff:  
     patches = lib.optionals (stdenv.isDarwin && !stdenv.isAarch64) [
       ./force-kqueue.patch
  +  ] ++ [
  +    (fetchpatch {
  +      url = "https://github.com/gorakhargosh/watchdog/commit/255d1e45c17929dd5ba8a6f91aa28771109931cd.patch";
  +      sha256 = "sha256-gGgEGuB/0g+4Pv1dXMvIdObjqKruWKkxtufS/dzSlY8=";
  +      excludes = [ "changelog.rst" ];
  +    })
     ];
   
     buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
  
positive.code: , pytest-timeout
  , pytestCheckHook
  , CoreServices
  }:
  
  buildPythonPackage rec {
  
negative.code:     substituteInPlace setup.cfg \
        --replace "--cov=watchdog" "" \
        --replace "--cov-report=term-missing" ""
    '';
  
    disabledTests = [
  