hass
This commit is contained in:
@@ -17,14 +17,8 @@ buildHomeAssistantComponent rec {
|
||||
hash = "sha256-4i5Ne3LYV7DXn6F6e5MCVZhIdDYR7fe3tT2GeSmYb/k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs.${namespace}; [
|
||||
wyzeapy
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace custom_components/wyzeapi/manifest.json \
|
||||
--replace '"wyzeapy>=0.5.28,<0.6"' '"wyzeapy>=0.5.27,<0.6"'
|
||||
'';
|
||||
# wyzeapy must be built against HA's Python; pkgs.mjallen.wyzeapy uses home-assistant.python
|
||||
dependencies = [ pkgs.${namespace}.wyzeapy ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/SecKatie/ha-wyzeapi/releases/tag/${version}";
|
||||
|
||||
Reference in New Issue
Block a user