summaryrefslogtreecommitdiff
path: root/hostnix/elmo/home-assistant.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo/home-assistant.nix')
-rw-r--r--hostnix/elmo/home-assistant.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/hostnix/elmo/home-assistant.nix b/hostnix/elmo/home-assistant.nix
index b580a57..6d70b86 100644
--- a/hostnix/elmo/home-assistant.nix
+++ b/hostnix/elmo/home-assistant.nix
@@ -24,6 +24,7 @@
"met"
"radio_browser"
];
+ # https://nathan.gs/2023/12/28/home-assistant-add-a-custom-component-in-nixos-revisited/
customComponents = [
(
pkgs.buildHomeAssistantComponent rec {
@@ -43,12 +44,12 @@
pkgs.buildHomeAssistantComponent rec {
owner = "make-all";
domain = "tuya_local";
- version = "2023.12.1";
+ version = "2024.2.0";
src = pkgs.fetchFromGitHub {
inherit owner;
repo = "tuya-local";
rev = "refs/tags/${version}";
- hash = "sha256-vi5EmtXAyXaUbJl+yAT5EL0yYb3XFRaAj6fybQRCM4A=";
+ hash = "sha256-wNdATRXJNHusVO2fMUXqSz0EZRDpodORSuFRXL6ohUs=";
};
propagatedBuildInputs = with pkgs.home-assistant.python.pkgs; [
(
@@ -60,9 +61,13 @@
inherit pname version format;
hash = "sha256-j7t4P4U9iuVHyb6HASkf7LmBheHN32IjdKE60HUbjIE=";
};
+ propagatedBuildInputs = [
+ colorama
+ cryptography
+ requests
+ ];
}
)
- colorama
];
dontBuild = true;
}