Merge pull request #226855 from NixOS/home-assistant

home-assistant: 2023.4.4 -> 2023.4.5
This commit is contained in:
Martin Weinelt 2023-04-18 19:48:03 +02:00 committed by GitHub
commit 35c52f89ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2023.4.4";
version = "2023.4.5";
components = {
"3_day_blinds" = ps: with ps; [
];
@ -671,6 +671,7 @@
pyserial
pyudev
scapy
securetar
sqlalchemy
zeroconf
];

View File

@ -310,7 +310,7 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2023.4.4";
hassVersion = "2023.4.5";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -326,7 +326,7 @@ in python.pkgs.buildPythonApplication rec {
# Primary source is the pypi sdist, because it contains translations
src = fetchPypi {
inherit pname version;
hash = "sha256-96Fjf8FOXxpdt+7QC54Q1UzyhkRFZm11xsNXUkg/D+U=";
hash = "sha256-nQ41tHIwmARVOGE4bi22zag4uN+6rPXJ6aDr+018fIw=";
};
# Secondary source is git for tests
@ -334,7 +334,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-ATchEqxVkzUDdRbVxW5YRS9T8WgIGPcdlsjCXXxeWoU=";
hash = "sha256-tFbgQ0e+J3/ERqlAKKXafWDaFIEIGsqX+uw8/bQyO5A=";
};
nativeBuildInputs = with python3.pkgs; [

View File

@ -46,6 +46,17 @@ PKG_PREFERENCES = {
"youtube_dl": "youtube-dl-light",
}
# Some dependencies are loaded dynamically at runtime, and are not
# mentioned in the manifest files.
EXTRA_COMPONENT_DEPS = {
"conversation": [
"intent"
],
"default_config": [
"backup",
],
}
def run_sync(cmd: List[str]) -> None:
@ -88,6 +99,8 @@ def parse_components(version: str = "master"):
)
for domain in sorted(integrations):
integration = integrations[domain]
if extra_deps := EXTRA_COMPONENT_DEPS.get(integration.domain):
integration.dependencies.extend(extra_deps)
if not integration.disabled:
components[domain] = integration.manifest

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "homeassistant-stubs";
version = "2023.4.4";
version = "2023.4.5";
format = "pyproject";
disabled = python.version != home-assistant.python.version;
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "KapJI";
repo = "homeassistant-stubs";
rev = "refs/tags/${version}";
hash = "sha256-ycyRLt8L3OnfnT1ZoO5wJAhJljnXClh1V343rPVeZHU=";
hash = "sha256-uZuJ2k52p2fuT15srSifdiD/T0Vk9GUhCh7jY9/nV6o=";
};
nativeBuildInputs = [