From 40bd63a475c362475ef10d4ff3a3dcce4d166fe8 Mon Sep 17 00:00:00 2001 From: Qiming Chu Date: Fri, 4 Apr 2025 23:39:58 +0800 Subject: [PATCH] home-assistant: pin jellyfin-apiclient-python to version 1.10.0 Signed-off-by: Qiming Chu --- pkgs/servers/home-assistant/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 78eff4e2231f..1a25a9bf1007 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -151,6 +151,18 @@ let ]; }); + # Pinned due to home-assistant still needing 1.10.0 verison + # Remove this when home-assistant upates the jellyfin-apiclient-python version + jellyfin-apiclient-python = super.jellyfin-apiclient-python.overridePythonAttrs (oldAttrs: rec { + version = "1.10.0"; + src = fetchFromGitHub { + owner = "jellyfin"; + repo = "jellyfin-apiclient-python"; + tag = "v${version}"; + hash = "sha256-H1FqypNuVIZ17cFdNDEmmKICswxJkUGq2LhlingbCVk="; + }; + }); + # acme and thus hass-nabucasa doesn't support josepy v2 # https://github.com/certbot/certbot/issues/10185 josepy = super.josepy.overridePythonAttrs (old: rec {