depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/localtuya/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

25 lines
689 B
Nix

{ lib
, buildHomeAssistantComponent
, fetchFromGitHub
}:
buildHomeAssistantComponent rec {
owner = "rospogrigio";
domain = "localtuya";
version = "5.2.2";
src = fetchFromGitHub {
owner = "rospogrigio";
repo = "localtuya";
rev = "v${version}";
hash = "sha256-GexGUu4hevRDGF7gv7Jklr5YZJV+QH3kZN7p+eK9HlM=";
};
meta = with lib; {
changelog = "https://github.com/rospogrigio/localtuya/releases/tag/${version}";
description = "Home Assistant custom Integration for local handling of Tuya-based devices";
homepage = "https://github.com/rospogrigio/localtuya";
maintainers = with maintainers; [ rhoriguchi ];
license = licenses.gpl3Only;
};
}