From 00f7d9f4775883889f214506b4252f87bc836133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 19 Feb 2026 06:49:23 +0100 Subject: [PATCH] home-assistant-custom-components.browser-mod: init at 2.7.4 --- .../custom-components/browser-mod/package.nix | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/servers/home-assistant/custom-components/browser-mod/package.nix diff --git a/pkgs/servers/home-assistant/custom-components/browser-mod/package.nix b/pkgs/servers/home-assistant/custom-components/browser-mod/package.nix new file mode 100644 index 000000000000..1ec3cfea2a7a --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/browser-mod/package.nix @@ -0,0 +1,42 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, + fetchNpmDeps, + nodejs, + npmHooks, +}: + +buildHomeAssistantComponent rec { + owner = "thomasloven"; + domain = "browser_mod"; + version = "2.7.4"; + + src = fetchFromGitHub { + inherit owner; + repo = "hass-browser_mod"; + tag = "v${version}"; + hash = "sha256-UFHdoIfmN0BUBRAze3mC3mgbV00rrjmKlAiBc4FuiZA="; + }; + + nativeBuildInputs = [ + nodejs + npmHooks.npmBuildHook + npmHooks.npmConfigHook + ]; + + npmDeps = fetchNpmDeps { + inherit src; + hash = "sha256-gvONQGQ91XZAygXDZnu7R/BPKa9T9l3f3EE6o39t0G0="; + }; + + npmBuildScript = "build"; + + meta = { + description = "Home Assistant integration to turn your browser into a controllable entity and media player"; + homepage = "https://github.com/thomasloven/hass-browser_mod"; + changelog = "https://github.com/thomasloven/hass-browser_mod/releases/tag/${src.tag}"; + maintainers = with lib.maintainers; [ SuperSandro2000 ]; + license = lib.licenses.mit; + }; +}