home-assistant-custom-components.xiaomi_gateway3: 4.0.3 -> 4.0.5

- Format using nixfmt-rfc-style
- Add passthru.updateScript
This commit is contained in:
Zhong Jianxin 2024-05-12 20:48:16 +08:00
parent d60ffedd11
commit 1669ab4a47

View File

@ -1,27 +1,29 @@
{ lib
, buildHomeAssistantComponent
, fetchFromGitHub
, zigpy
{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
zigpy,
nix-update-script,
}:
buildHomeAssistantComponent rec {
owner = "AlexxIT";
domain = "xiaomi_gateway3";
version = "4.0.3";
version = "4.0.5";
src = fetchFromGitHub {
owner = "AlexxIT";
repo = "XiaomiGateway3";
rev = "v${version}";
hash = "sha256-YGaVQaz3A0yM8AIC02CvMKWMJ3tW3OADYgKY8ViIt5U=";
hash = "sha256-C8aY23e6iWANbhCRQYNHx+3fomVO+7qdxj+qfv+K3JM=";
};
propagatedBuildInputs = [
zigpy
];
propagatedBuildInputs = [ zigpy ];
dontBuild = true;
passthru.updateScript = nix-update-script { };
meta = with lib; {
changelog = "https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v{version}";
description = "Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN";