home-assistant: 2022.4.2 -> 2022.4.3

https://github.com/home-assistant/core/releases/tag/2022.4.3

Fixes a small statistical mishap in the requirements parser.
This commit is contained in:
Martin Weinelt 2022-04-13 03:10:23 +02:00
parent ef797b8aeb
commit 7cf8a80c3a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2022.4.2";
version = "2022.4.3";
components = {
"abode" = ps: with ps; [
abodepy

View file

@ -168,7 +168,7 @@ let
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating
hassVersion = "2022.4.2";
hassVersion = "2022.4.3";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -186,7 +186,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
hash = "sha256-jFETlFgxS1qlUYnqVUj0Duki6Met21NQbZQOc5pWxpE=";
hash = "sha256-kubW0JhG9ervVHVl65YmD5jd/0oWenacAyfSP0EPmsU=";
};
# leave this in, so users don't have to constantly update their downstream patch handling

View file

@ -247,7 +247,7 @@ def main() -> None:
f.write(" ];\n")
f.write("}\n")
supported_components = reduce(lambda n, c: n + (build_inputs[c][1] == []),
supported_components = reduce(lambda n, c: n + (build_inputs[c][2] == []),
components.keys(), 0)
total_components = len(components)
print(f"{supported_components} / {total_components} components supported, "