36 lines
766 B
Nix
36 lines
766 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
buildHomeAssistantComponent,
|
||
|
|
fetchFromGitHub,
|
||
|
|
|
||
|
|
# dependencies
|
||
|
|
tinytuya,
|
||
|
|
tuya-device-sharing-sdk,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildHomeAssistantComponent rec {
|
||
|
|
owner = "make-all";
|
||
|
|
domain = "tuya_local";
|
||
|
|
version = "2025.7.1";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
inherit owner;
|
||
|
|
repo = "tuya-local";
|
||
|
|
tag = version;
|
||
|
|
hash = "sha256-RIvtz6f3Jj4INvL0JdL+EsFUoLoG9vQNn5iPq2nF26I=";
|
||
|
|
};
|
||
|
|
|
||
|
|
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 ];
|
||
|
|
};
|
||
|
|
}
|