Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
34 lines
772 B
Nix
34 lines
772 B
Nix
{ lib
|
|
, buildHomeAssistantComponent
|
|
, fetchFromGitHub
|
|
|
|
# dependencies
|
|
, tinytuya
|
|
, tuya-device-sharing-sdk
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "make-all";
|
|
domain = "tuya_local";
|
|
version = "2024.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit owner;
|
|
repo = "tuya-local";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-IHTWcNxmNXJk7SNnrLNFbaXJQSg6VYkAgAVmyt3JmRw=";
|
|
};
|
|
|
|
dependencies = [
|
|
tinytuya
|
|
tuya-device-sharing-sdk
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|