about summary refs log tree commit diff
path: root/pkgs/servers/home-assistant/custom-components/tuya_local/default.nix
blob: 910dcca051cc554ceb06bc7b37cb42fc8c755c89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildHomeAssistantComponent
, fetchFromGitHub

# dependencies
, tinytuya
}:

buildHomeAssistantComponent rec {
  owner = "make-all";
  domain = "tuya_local";
  version = "2024.5.2";

  src = fetchFromGitHub {
    inherit owner;
    repo = "tuya-local";
    rev = "refs/tags/${version}";
    hash = "sha256-If5SLLizagolXF5Y43UQK5IZ9oB1lQJVjTorgmtRXtg=";
  };

  dependencies = [ tinytuya ];

  meta = with lib; {
    description = "Local support for Tuya devices in Home Assistant";
    homepage = "https://github.com/make-all/tuya-local";
    changelog = "https://github.com/make-all/tuya-local/releases/tag/${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ pathob ];
  };
}