mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
home-assistant-custom-components.xiaomi_miot: 0.7.21 -> 0.7.23 (#356947)
This commit is contained in:
commit
f89fd475c5
@ -2,9 +2,8 @@
|
|||||||
lib,
|
lib,
|
||||||
buildHomeAssistantComponent,
|
buildHomeAssistantComponent,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
hap-python,
|
construct,
|
||||||
micloud,
|
micloud,
|
||||||
pyqrcode,
|
|
||||||
python-miio,
|
python-miio,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
@ -12,19 +11,18 @@
|
|||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "al-one";
|
owner = "al-one";
|
||||||
domain = "xiaomi_miot";
|
domain = "xiaomi_miot";
|
||||||
version = "0.7.21";
|
version = "0.7.23";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "al-one";
|
owner = "al-one";
|
||||||
repo = "hass-xiaomi-miot";
|
repo = "hass-xiaomi-miot";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-5MYA5MejQAANyjVqhqZtaIEQEs1K/aOx+1n+L9TmNmY=";
|
hash = "sha256-PTjkKuK+DAOmKREr0AHjFXzy4ktguD4ZOHcWuLedLH0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
hap-python
|
construct
|
||||||
micloud
|
micloud
|
||||||
pyqrcode
|
|
||||||
python-miio
|
python-miio
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -32,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";
|
||||||
|
longDescription = ''
|
||||||
|
Xiaomi Miot For HomeAssistant depends on `ffmpeg` and `homekit`, example how to setup in NixOS `configuration.nix`:
|
||||||
|
|
||||||
|
```
|
||||||
|
{ 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";
|
homepage = "https://github.com/al-one/hass-xiaomi-miot";
|
||||||
maintainers = with maintainers; [ azuwis ];
|
maintainers = with lib.maintainers; [ azuwis ];
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user