Merge pull request #285149 from rhoriguchi/localtuya

home-assistant-custom-components.localtuya: init at 5.2.1

authored by Martin Weinelt and committed by GitHub 3688a343 9db55bdd

+27
+2
pkgs/servers/home-assistant/custom-components/default.nix
··· 10 10 11 11 gpio = callPackage ./gpio {}; 12 12 13 + localtuya = callPackage ./localtuya {}; 14 + 13 15 miele = callPackage ./miele {}; 14 16 15 17 prometheus_sensor = callPackage ./prometheus_sensor {};
+25
pkgs/servers/home-assistant/custom-components/localtuya/default.nix
··· 1 + { lib 2 + , buildHomeAssistantComponent 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildHomeAssistantComponent rec { 7 + owner = "rospogrigio"; 8 + domain = "localtuya"; 9 + version = "5.2.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "rospogrigio"; 13 + repo = "localtuya"; 14 + rev = "v${version}"; 15 + hash = "sha256-hA/1FxH0wfM0jz9VqGCT95rXlrWjxV5oIkSiBf0G0ac="; 16 + }; 17 + 18 + meta = with lib; { 19 + changelog = "https://github.com/rospogrigio/localtuya/releases/tag/${version}"; 20 + description = "A Home Assistant custom Integration for local handling of Tuya-based devices"; 21 + homepage = "https://github.com/rospogrigio/localtuya"; 22 + maintainers = with maintainers; [ rhoriguchi ]; 23 + license = licenses.gpl3Only; 24 + }; 25 + }