From 324ce9ed4086c5e8d42a495b788e7492abc675c7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 5 Sep 2025 03:55:31 +0200 Subject: [PATCH] home-assistant: pin python-roborock to pytest-asyncio_0 --- pkgs/servers/home-assistant/default.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index fb37253dc9df..6fceb4737336 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -282,16 +282,20 @@ let doCheck = false; }); - python-roborock = super.python-roborock.overridePythonAttrs rec { - version = "2.18.2"; + python-roborock = + (super.python-roborock.override { + pytest-asyncio = self.pytest-asyncio_0; + }).overridePythonAttrs + rec { + version = "2.18.2"; - src = fetchFromGitHub { - owner = "Python-roborock"; - repo = "python-roborock"; - tag = "v${version}"; - hash = "sha256-7xcw1jNCDapHjH1YVB5NW7jxMyb8Raf8HuTnWf2vdFo="; - }; - }; + src = fetchFromGitHub { + owner = "Python-roborock"; + repo = "python-roborock"; + tag = "v${version}"; + hash = "sha256-7xcw1jNCDapHjH1YVB5NW7jxMyb8Raf8HuTnWf2vdFo="; + }; + }; python-telegram-bot = super.python-telegram-bot.overridePythonAttrs (oldAttrs: rec { version = "21.5";