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