diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-02-08 23:17:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 23:17:08 +0100 |
commit | 3688a3431fd2afa4edcfe6f93f131f8aaab0edfb (patch) | |
tree | 748647db051ba921e06e40cc8cde0535f10f3634 /pkgs/servers | |
parent | 9db55bdd84bbc73a474f983774ff7913e3e0b03a (diff) | |
parent | 439cbb3721b06db26935e62aac190cbbdf481fd8 (diff) |
Merge pull request #285149 from rhoriguchi/localtuya
home-assistant-custom-components.localtuya: init at 5.2.1
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/home-assistant/custom-components/default.nix | 2 | ||||
-rw-r--r-- | pkgs/servers/home-assistant/custom-components/localtuya/default.nix | 25 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix index a2c54352d2d82..7a2cd3776a9a8 100644 --- a/pkgs/servers/home-assistant/custom-components/default.nix +++ b/pkgs/servers/home-assistant/custom-components/default.nix @@ -10,6 +10,8 @@ gpio = callPackage ./gpio {}; + localtuya = callPackage ./localtuya {}; + miele = callPackage ./miele {}; prometheus_sensor = callPackage ./prometheus_sensor {}; diff --git a/pkgs/servers/home-assistant/custom-components/localtuya/default.nix b/pkgs/servers/home-assistant/custom-components/localtuya/default.nix new file mode 100644 index 0000000000000..3e3c17a33cdfa --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/localtuya/default.nix @@ -0,0 +1,25 @@ +{ lib +, buildHomeAssistantComponent +, fetchFromGitHub +}: + +buildHomeAssistantComponent rec { + owner = "rospogrigio"; + domain = "localtuya"; + version = "5.2.1"; + + src = fetchFromGitHub { + owner = "rospogrigio"; + repo = "localtuya"; + rev = "v${version}"; + hash = "sha256-hA/1FxH0wfM0jz9VqGCT95rXlrWjxV5oIkSiBf0G0ac="; + }; + + meta = with lib; { + changelog = "https://github.com/rospogrigio/localtuya/releases/tag/${version}"; + description = "A Home Assistant custom Integration for local handling of Tuya-based devices"; + homepage = "https://github.com/rospogrigio/localtuya"; + maintainers = with maintainers; [ rhoriguchi ]; + license = licenses.gpl3Only; + }; +} |