Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
882 B
Nix
33 lines
882 B
Nix
{
|
|
lib,
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
zigpy,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "AlexxIT";
|
|
domain = "xiaomi_gateway3";
|
|
version = "4.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AlexxIT";
|
|
repo = "XiaomiGateway3";
|
|
rev = "v${version}";
|
|
hash = "sha256-CcJoXD60z91Gahv5pVrWaIpUNhetW0BN1Nd4DAVRPJs=";
|
|
};
|
|
|
|
dependencies = [ zigpy ];
|
|
|
|
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";
|
|
homepage = "https://github.com/AlexxIT/XiaomiGateway3";
|
|
maintainers = with maintainers; [ azuwis ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|