diff options
author | Breland Miley <breland@bdawg.org> | 2024-07-13 21:54:25 -0400 |
---|---|---|
committer | Breland Miley <breland@bdawg.org> | 2024-07-14 14:24:58 -0400 |
commit | 2d284d65aae747cf618d42cdd93703b35cc0102a (patch) | |
tree | f36c73ac4051af893cbb6a86fed6069b2e30e22d /pkgs/servers | |
parent | bfc74be03038b1d18d6b94792d1203a7027a575e (diff) |
home-assistant-custom-components.alarmo: init at 1.10.4
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/home-assistant/custom-components/alarmo/default.nix | 31 | ||||
-rw-r--r-- | pkgs/servers/home-assistant/custom-components/default.nix | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/custom-components/alarmo/default.nix b/pkgs/servers/home-assistant/custom-components/alarmo/default.nix new file mode 100644 index 0000000000000..ace6633a8c6ed --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/alarmo/default.nix @@ -0,0 +1,31 @@ +{ + lib, + fetchFromGitHub, + buildHomeAssistantComponent, +}: + +buildHomeAssistantComponent rec { + owner = "nielsfaber"; + domain = "alarmo"; + version = "1.10.4"; + + postInstall = '' + cd $out/custom_components/alarmo/frontend + ls . | grep -v dist | xargs rm -rf + ''; + + src = fetchFromGitHub { + owner = "nielsfaber"; + repo = "alarmo"; + rev = "refs/tags/v${version}"; + hash = "sha256-/hNzGPckLHUX0mrBF3ugAXstrOc1mWdati+nRJCwldc="; + }; + + meta = with lib; { + changelog = "https://github.com/nielsfaber/alarmo/releases/tag/v${version}"; + description = "Alarm System for Home Assistant"; + homepage = "https://github.com/nielsfaber/alarmo"; + maintainers = with maintainers; [ mindstorms6 ]; + license = licenses.unfree; + }; +} diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix index 3a1184016f3ef..5138c56f5aaff 100644 --- a/pkgs/servers/home-assistant/custom-components/default.nix +++ b/pkgs/servers/home-assistant/custom-components/default.nix @@ -4,6 +4,8 @@ { adaptive_lighting = callPackage ./adaptive_lighting {}; + alarmo = callPackage ./alarmo {}; + auth-header = callPackage ./auth-header {}; awtrix = callPackage ./awtrix {}; |