diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2023-01-19 17:52:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 17:52:11 +0000 |
commit | 00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c (patch) | |
tree | ceef3b62705480389e93f7af72ea9a712cc7cdfc /pkgs/servers | |
parent | ed8cab77e11cdaa77103854e4575fc3dc4e8c61a (diff) | |
parent | 0ab7681f04178550af840aa2e027d018f8dd7904 (diff) | |
download | nixlib-00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c.tar nixlib-00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c.tar.gz nixlib-00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c.tar.bz2 nixlib-00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c.tar.lz nixlib-00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c.tar.xz nixlib-00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c.tar.zst nixlib-00ae4c7fc46ac0fc0bd3ee9faa76e6e67d1c981c.zip |
Merge pull request #211210 from NixOS/home-assistant
home-assistant: 2023.1.4 -> 2023.1.5
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/home-assistant/component-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/servers/home-assistant/default.nix | 86 | ||||
-rw-r--r-- | pkgs/servers/home-assistant/tests.nix | 3 |
3 files changed, 88 insertions, 3 deletions
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 610f5ff25eca..cb7490c78fb2 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 = "2023.1.4"; + version = "2023.1.5"; components = { "3_day_blinds" = ps: with ps; [ ]; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 586631f6ffda..f1380c801d12 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -33,6 +33,15 @@ let # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt (self: super: { + advantage-air = super.advantage-air.overridePythonAttrs (oldAttrs: rec { + version = "0.4.1"; + src = super.fetchPypi { + pname = "advantage_air"; + inherit version; + hash = "sha256-I9HMDLZX9xKDJuYSAweM2r4v3ZKevHTn5dHTYxN3EuE="; + }; + }); + # https://github.com/postlund/pyatv/issues/1879 aiohttp = super.aiohttp.overridePythonAttrs (oldAttrs: rec { pname = "aiohttp"; @@ -43,6 +52,16 @@ let }; }); + aiowatttime = super.aiowatttime.overridePythonAttrs (oldAttrs: rec { + version = "0.1.1"; + src = fetchFromGitHub { + owner = "bachya"; + repo = "aiowatttime"; + rev = "refs/tags/${version}"; + hash = "sha256-tWnxGLJT+CRFvkhxFamHxnLXBvoR8tfOvzH1o1i5JJg="; + }; + }); + astral = super.astral.overridePythonAttrs (oldAttrs: rec { pname = "astral"; version = "2.2"; @@ -75,6 +94,16 @@ let checkInputs = old.checkInputs ++ [ self.nose ]; }); + dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec { + version = "0.33"; + src = fetchFromGitHub { + owner = "ndokter"; + repo = "dsmr_parser"; + rev = "refs/tags/v${version}"; + hash = "sha256-Phx8Yqx6beTzkQv0fU8Pfs2btPgKVARdO+nMcne1S+w="; + }; + }); + gridnet = super.gridnet.overridePythonAttrs (oldAttrs: rec { version = "4.0.0"; src = fetchFromGitHub { @@ -94,6 +123,28 @@ let }; }); + # Pinned due to API changes in 10.0 + mcstatus = super.mcstatus.overridePythonAttrs (oldAttrs: rec { + version = "9.3.0"; + src = fetchFromGitHub { + owner = "py-mine"; + repo = "mcstatus"; + rev = "refs/tags/v${version}"; + hash = "sha256-kNThVElEDqhbCitktBv5tQkjMaU4IsX0dJk63hvLhb0="; + }; + }); + + # Pinned due to API changes in 1.3.0 + ovoenergy = super.ovoenergy.overridePythonAttrs (oldAttrs: rec { + version = "1.2.0"; + src = fetchFromGitHub { + owner = "timmo001"; + repo = "ovoenergy"; + rev = "refs/tags/v${version}"; + hash = "sha256-OSK74uvpHuEtWgbLVFrz1NO7lvtHbt690smGQ+GlsOI="; + }; + }); + # Pinned due to API changes in 0.1.0 poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec { version = "0.0.8"; @@ -115,6 +166,16 @@ let }; }); + # https://github.com/home-assistant/core/pull/80931 + pyjwt = super.pyjwt.overridePythonAttrs (oldAttrs: rec { + version = "2.5.0"; + src = super.fetchPypi { + pname = "PyJWT"; + inherit version; + hash = "sha256-53q4lICQXYaZhEKsV4jzUzP6hfZQR6U0rcOO3zyI/Ds="; + }; + }); + pymodbus = super.pymodbus.overridePythonAttrs (oldAttrs: rec { version = "2.5.3"; src = fetchFromGitHub { @@ -125,6 +186,17 @@ let }; }); + # Pinned due to API changes in 1.0.24 + pysensibo = super.pysensibo.overridePythonAttrs (oldAttrs: rec { + version = "1.0.22"; + src = fetchFromGitHub { + owner = "andrey-git"; + repo = "pysensibo"; + rev = "refs/tags/${version}"; + hash = "sha256-AUcdKcdoYCg8OgUcFoLLpNK5GQMTg89XCR5CkTfNkcc="; + }; + }); + python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec { pname = "python-slugify"; version = "4.0.1"; @@ -204,6 +276,16 @@ let }; }); + # Pinned due to API changes in 2.0 + vsure = super.vsure.overridePythonAttrs (oldAttrs: rec { + version = "1.8.1"; + src = super.fetchPypi { + pname = "vsure"; + inherit version; + hash = "sha256-Zh83t7yjZU2NjOgCkqPUHbqvEyEWXGITRgr5d2fLtRI="; + }; + }); + # Pinned due to API changes ~1.0 vultr = super.vultr.overridePythonAttrs (oldAttrs: rec { version = "0.1.2"; @@ -243,7 +325,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 = "2023.1.4"; + hassVersion = "2023.1.5"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -261,7 +343,7 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = "refs/tags/${version}"; - hash = "sha256-up6AKdrbiLuVf58yDUGlNME7qVFbegnnb3zoTF4Gj3s="; + hash = "sha256-gqWkj90Vw+Pne0Iseet1Jz0Eh3YpUiqspGltvU5Pxro="; }; # leave this in, so users don't have to constantly update their downstream patch handling diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index 601d0fe0367f..9b8c04432026 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -121,6 +121,9 @@ in lib.listToAttrs (map (component: lib.nameValuePair component ( meta = old.meta // { broken = lib.elem component [ + # all tests are skipped + # https://github.com/home-assistant/core/blob/dev/tests/components/homeassistant_hardware/test_silabs_multiprotocol_addon.py#L23 + "homeassistant_hardware" ]; # upstream only tests on Linux, so do we. platforms = lib.platforms.linux; |