Skip to content

Commit

Permalink
home-assistant-custom-components.alarmo: init at 1.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mindstorms6 committed Jul 14, 2024
1 parent bfc74be commit 2d284d6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/servers/home-assistant/custom-components/alarmo/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/servers/home-assistant/custom-components/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
{
adaptive_lighting = callPackage ./adaptive_lighting {};

alarmo = callPackage ./alarmo {};

auth-header = callPackage ./auth-header {};

awtrix = callPackage ./awtrix {};
Expand Down

0 comments on commit 2d284d6

Please sign in to comment.