From 966e17a390dfee0c1d771c241c89356030c65ce1 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Thu, 15 Feb 2024 12:39:58 -0500 Subject: Update and fix up tuya-local packaging --- hostnix/elmo/home-assistant.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'hostnix') 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; } -- cgit v1.3.1