mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
home-assistant-custom-components.xiaomi_miot: add meta.longDescription, remove with lib
(cherry picked from commit c4c6f50302
)
This commit is contained in:
parent
004380f3b9
commit
6da5d4e441
@ -30,11 +30,24 @@ buildHomeAssistantComponent rec {
|
|||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
changelog = "https://github.com/al-one/hass-xiaomi-miot/releases/tag/v${version}";
|
changelog = "https://github.com/al-one/hass-xiaomi-miot/releases/tag/v${version}";
|
||||||
description = "Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices";
|
description = "Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices";
|
||||||
homepage = "https://github.com/al-one/hass-xiaomi-miot";
|
longDescription = ''
|
||||||
maintainers = with maintainers; [ azuwis ];
|
Xiaomi Miot For HomeAssistant depends on `ffmpeg` and `homekit`, example how to setup in NixOS `configuration.nix`:
|
||||||
license = licenses.asl20;
|
|
||||||
|
```
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.home-assistant = {
|
||||||
|
customComponents = [ pkgs.home-assistant-custom-components.xiaomi_miot ];
|
||||||
|
extraComponents = [ "ffmpeg" "homekit" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/al-one/hass-xiaomi-miot";
|
||||||
|
maintainers = with lib.maintainers; [ azuwis ];
|
||||||
|
license = lib.licenses.asl20;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user