Merge pull request #226855 from NixOS/home-assistant

home-assistant: 2023.4.4 -> 2023.4.5

authored by

Martin Weinelt and committed by
GitHub
35c52f89 c4c7de60

+20 -6
+2 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2023.4.4"; 5 + version = "2023.4.5"; 6 6 components = { 7 7 "3_day_blinds" = ps: with ps; [ 8 8 ]; ··· 671 671 pyserial 672 672 pyudev 673 673 scapy 674 + securetar 674 675 sqlalchemy 675 676 zeroconf 676 677 ];
+3 -3
pkgs/servers/home-assistant/default.nix
··· 310 310 extraBuildInputs = extraPackages python.pkgs; 311 311 312 312 # Don't forget to run parse-requirements.py after updating 313 - hassVersion = "2023.4.4"; 313 + hassVersion = "2023.4.5"; 314 314 315 315 in python.pkgs.buildPythonApplication rec { 316 316 pname = "homeassistant"; ··· 326 326 # Primary source is the pypi sdist, because it contains translations 327 327 src = fetchPypi { 328 328 inherit pname version; 329 - hash = "sha256-96Fjf8FOXxpdt+7QC54Q1UzyhkRFZm11xsNXUkg/D+U="; 329 + hash = "sha256-nQ41tHIwmARVOGE4bi22zag4uN+6rPXJ6aDr+018fIw="; 330 330 }; 331 331 332 332 # Secondary source is git for tests ··· 334 334 owner = "home-assistant"; 335 335 repo = "core"; 336 336 rev = "refs/tags/${version}"; 337 - hash = "sha256-ATchEqxVkzUDdRbVxW5YRS9T8WgIGPcdlsjCXXxeWoU="; 337 + hash = "sha256-tFbgQ0e+J3/ERqlAKKXafWDaFIEIGsqX+uw8/bQyO5A="; 338 338 }; 339 339 340 340 nativeBuildInputs = with python3.pkgs; [
+13
pkgs/servers/home-assistant/parse-requirements.py
··· 46 46 "youtube_dl": "youtube-dl-light", 47 47 } 48 48 49 + # Some dependencies are loaded dynamically at runtime, and are not 50 + # mentioned in the manifest files. 51 + EXTRA_COMPONENT_DEPS = { 52 + "conversation": [ 53 + "intent" 54 + ], 55 + "default_config": [ 56 + "backup", 57 + ], 58 + } 59 + 49 60 50 61 51 62 def run_sync(cmd: List[str]) -> None: ··· 88 99 ) 89 100 for domain in sorted(integrations): 90 101 integration = integrations[domain] 102 + if extra_deps := EXTRA_COMPONENT_DEPS.get(integration.domain): 103 + integration.dependencies.extend(extra_deps) 91 104 if not integration.disabled: 92 105 components[domain] = integration.manifest 93 106
+2 -2
pkgs/servers/home-assistant/stubs.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "homeassistant-stubs"; 11 - version = "2023.4.4"; 11 + version = "2023.4.5"; 12 12 format = "pyproject"; 13 13 14 14 disabled = python.version != home-assistant.python.version; ··· 17 17 owner = "KapJI"; 18 18 repo = "homeassistant-stubs"; 19 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-ycyRLt8L3OnfnT1ZoO5wJAhJljnXClh1V343rPVeZHU="; 20 + hash = "sha256-uZuJ2k52p2fuT15srSifdiD/T0Vk9GUhCh7jY9/nV6o="; 21 21 }; 22 22 23 23 nativeBuildInputs = [