diff options
Diffstat (limited to 'pkgs/servers/home-assistant')
5 files changed, 40 insertions, 7 deletions
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index dd1a4c03e49f5..44e9f1c5211bf 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2024.1.3"; + version = "2024.1.5"; components = { "3_day_blinds" = ps: with ps; [ ]; @@ -4507,7 +4507,8 @@ paho-mqtt ]; "snmp" = ps: with ps; [ - ]; # missing inputs: pysnmp-lextudio + pysnmp-lextudio + ]; "snooz" = ps: with ps; [ aioesphomeapi aiohttp-cors @@ -6317,6 +6318,7 @@ "smtp" "snapcast" "snips" + "snmp" "snooz" "solaredge" "solarlog" diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix index 310b4592b20f0..c5c6ae60362ea 100644 --- a/pkgs/servers/home-assistant/custom-components/default.nix +++ b/pkgs/servers/home-assistant/custom-components/default.nix @@ -6,6 +6,8 @@ govee-lan = callPackage ./govee-lan {}; + gpio = callPackage ./gpio {}; + miele = callPackage ./miele {}; prometheus_sensor = callPackage ./prometheus_sensor {}; diff --git a/pkgs/servers/home-assistant/custom-components/gpio/default.nix b/pkgs/servers/home-assistant/custom-components/gpio/default.nix new file mode 100644 index 0000000000000..98cf56a3b52a0 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/gpio/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildHomeAssistantComponent +, fetchFromGitea +, libgpiod +}: + +buildHomeAssistantComponent rec { + owner = "raboof"; + domain = "gpio"; + version = "0.0.2"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "raboof"; + repo = "ha-gpio"; + rev = "v${version}"; + hash = "sha256-oito5W7uQYgxUQFIynW9G7jbIpmFONWC8FslRdX3gsE="; + }; + + propagatedBuildInputs = [ libgpiod ]; + + meta = with lib; { + description = "Home Assistant GPIO custom integration"; + homepage = "https://codeberg.org/raboof/ha-gpio"; + maintainers = with maintainers; [ raboof ]; + license = licenses.asl20; + }; +} diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index bdd5ff4884305..ee1375c5044ac 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -438,7 +438,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run parse-requirements.py after updating - hassVersion = "2024.1.3"; + hassVersion = "2024.1.5"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -456,13 +456,13 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = "refs/tags/${version}"; - hash = "sha256-Yrv7THolGNylSK1BKUvEzxL8uAQWkOBOWAX00fJBAuQ="; + hash = "sha256-6HPHoUpS2WXbYx7Tbqp9LLo25DyNzNd/THpSo7Y43Jw="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-Mj00aTkummsPpUtQ5iUG9xOJ4ra6Sfu8uklwroMXoy0="; + hash = "sha256-cptN6NgB/1qnvz+/EqDBQiH2vSQsOeSljSVFZBFXR5Y="; }; nativeBuildInputs = with python.pkgs; [ @@ -476,6 +476,7 @@ in python.pkgs.buildPythonApplication rec { "cryptography" "home-assistant-bluetooth" "httpx" + "jinja2" "lru-dict" "orjson" "pyopenssl" diff --git a/pkgs/servers/home-assistant/stubs.nix b/pkgs/servers/home-assistant/stubs.nix index bd3c4154f0677..8d49399e36f31 100644 --- a/pkgs/servers/home-assistant/stubs.nix +++ b/pkgs/servers/home-assistant/stubs.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "homeassistant-stubs"; - version = "2024.1.3"; + version = "2024.1.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-Bvjn4wqy0kxkL7rnfPwf2v2+Q3tGiTo8YuBv3WmQUc8="; + hash = "sha256-mS9GsJwscLQu+vApoxIWE1tZUcu3B3CTMFrcu96POEY="; }; nativeBuildInputs = [ |