From 946d26158aee5cdedfdcab33f08221de241b712c Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Fri, 3 Oct 2025 10:19:12 +0200 Subject: [PATCH] home-assistant-custom-components.systemair: 0.2.0 -> 1.0.11 Switch to active fork by AN3Orik since original repository is stale. --- .../custom-components/systemair/package.nix | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/home-assistant/custom-components/systemair/package.nix b/pkgs/servers/home-assistant/custom-components/systemair/package.nix index e55bb645fa56..f2b13e6ff225 100644 --- a/pkgs/servers/home-assistant/custom-components/systemair/package.nix +++ b/pkgs/servers/home-assistant/custom-components/systemair/package.nix @@ -1,25 +1,39 @@ { lib, + pymodbus, buildHomeAssistantComponent, fetchFromGitHub, + async-timeout, + aiohttp, }: buildHomeAssistantComponent rec { - owner = "tesharp"; + owner = "AN3Orik"; domain = "systemair"; - version = "0.2.0"; + version = "1.0.11"; src = fetchFromGitHub { inherit owner; repo = "systemair"; tag = "v${version}"; - hash = "sha256-lzFnKPkBOt2fkVGWCj1M/skSr8V39GgDHS+0HD4ACAw="; + hash = "sha256-/M9ErhtggyaY8ZZyhdPSoVCGqrhAQ9/RMRyl34Ks3mc="; }; + postPatch = '' + substituteInPlace custom_components/systemair/manifest.json \ + --replace-fail "pymodbus==" "pymodbus>=" \ + ''; + + dependencies = [ + pymodbus + async-timeout + aiohttp + ]; + meta = with lib; { - changelog = "https://github.com/tesharp/systemair/releases/tag/v${version}"; - description = "Home Assistant component for Systemair SAVE Connect 2"; - homepage = "https://github.com/tesharp/systemair"; + changelog = "https://github.com/AN3Orik/systemair/releases/tag/v${version}"; + description = "Home Assistant component for Systemair SAVE ventilation units"; + homepage = "https://github.com/AN3Orik/systemair"; maintainers = with maintainers; [ uvnikita ]; license = licenses.mit; };