From f6e2b4930f3757d850964a7bc45ed8c79ea058ae Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Sun, 29 Jun 2025 17:24:45 +0300 Subject: [PATCH] home-assistant-custom-components.oref_alert: 2.22.1 -> 3.1.3 --- .../custom-components/oref_alert/package.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix b/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix index 5fffab60d234..37cb64d622e3 100644 --- a/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix +++ b/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, aiofiles, shapely, + paho-mqtt, pytestCheckHook, pytest-homeassistant-custom-component, pytest-freezer, @@ -12,25 +13,23 @@ buildHomeAssistantComponent rec { owner = "amitfin"; domain = "oref_alert"; - version = "2.22.1"; + version = "3.1.3"; src = fetchFromGitHub { owner = "amitfin"; repo = "oref_alert"; tag = "v${version}"; - hash = "sha256-OO3My8U8SCmhaJQI7y0kxVKj/stvfp3pdqhFdTCcIWs="; + hash = "sha256-Mr9zNq5KMuzwRAGoxi0P7ruYpKHoxy/DQWWjCisn7tA="; }; - postPatch = '' - substituteInPlace custom_components/oref_alert/manifest.json \ - --replace-fail shapely==2.0.7 shapely - ''; - dependencies = [ aiofiles shapely + paho-mqtt ]; + ignoreVersionRequirement = [ "shapely" ]; + nativeCheckInputs = [ pytestCheckHook pytest-homeassistant-custom-component