mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
home-assistant-custom-components.xiaomi_miot: 0.7.21 -> 0.7.23
Diff: https://github.com/al-one/hass-xiaomi-miot/compare/v0.7.21...v0.7.23
Changelog: https://github.com/al-one/hass-xiaomi-miot/releases/tag/v0.7.23
Fix with home-assistant v2024.11:
```
File "/var/lib/hass/custom_components/xiaomi_miot/__init__.py", line 30, in <module>
from homeassistant.config import DATA_CUSTOMIZE
ImportError: cannot import name 'DATA_CUSTOMIZE' from 'homeassistant.config' (/nix/store/m1bqz8krvqssm8zq8i456ds5287dfvd9-homeassistant-2024.11.1/lib/python3.12/site-packages/homeassistant/config.py)
```
(cherry picked from commit 03e9fb3803
)
This commit is contained in:
parent
d77013fa62
commit
004380f3b9
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user