Unverified Commit 35c52f89 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #226855 from NixOS/home-assistant

home-assistant: 2023.4.4 -> 2023.4.5
parents c4c7de60 454bae6d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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
    ];
+3 −3
Original line number Diff line number Diff line
@@ -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; [
+13 −0
Original line number Diff line number Diff line
@@ -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

+2 −2
Original line number Diff line number Diff line
@@ -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 = [