anchor.diff:      sha256 = "0g7jwhdvdcam7gvrj72aknrsvdwm5i5hs93nngqm26m1g4sng0ma";
     };
   
  +  postPatch = ''
  +    substituteInPlace setup.py \
  +      --replace "yarl==1.4.2" "yarl~=1.4"
  +  '';
  +
     propagatedBuildInputs = [
       # From setup.py
       aiohttp astral async-timeout attrs bcrypt certifi importlib-metadata jinja2
  
positive.code:     # https://github.com/home-assistant/core/blob/dev/requirements_all.txt
      (mkOverride "pyowm" "2.10.0"
        "1xvcv3sbcn9na8cwz21nnjlixysfk5lymnf65d1nqkbgacc1mm4g")
  
      # required by aioesphomeapi
      (self: super: {
  
negative.code:     # - components' dependencies are not included, so they cannot be tested
      # - test_merge_id_schema requires pyqwikswitch
      # - test_loader.py tries to load not-packaged dependencies
      # - test_notify pyotp doesn't like the short mock keys
      # - unclear why test_merge fails: assert merge_log_err.call_count != 0
      # - test_setup_safe_mode_if_no_frontend: requires dependencies for components we have not packaged
      py.test \
        --ignore tests/components \
        --ignore tests/test_loader.py \
        --ignore tests/auth/mfa_modules/test_notify.py \
        -k "not test_setup_safe_mode_if_no_frontend and not test_merge_id_schema and not test_merge"
  
      # Some basic components should be tested however
      py.test \
  