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:
@@ -1,27 +1,29 @@
|
|||||||
{ lib
|
{
|
||||||
, buildHomeAssistantComponent
|
lib,
|
||||||
, fetchFromGitHub
|
buildHomeAssistantComponent,
|
||||||
, zigpy
|
fetchFromGitHub,
|
||||||
|
zigpy,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "AlexxIT";
|
owner = "AlexxIT";
|
||||||
domain = "xiaomi_gateway3";
|
domain = "xiaomi_gateway3";
|
||||||
version = "4.0.3";
|
version = "4.0.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "AlexxIT";
|
owner = "AlexxIT";
|
||||||
repo = "XiaomiGateway3";
|
repo = "XiaomiGateway3";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-YGaVQaz3A0yM8AIC02CvMKWMJ3tW3OADYgKY8ViIt5U=";
|
hash = "sha256-C8aY23e6iWANbhCRQYNHx+3fomVO+7qdxj+qfv+K3JM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [ zigpy ];
|
||||||
zigpy
|
|
||||||
];
|
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
changelog = "https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v{version}";
|
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";
|
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";
|
||||||
|
|||||||
Reference in New Issue
Block a user