home-assistant: 2024.5.5 -> 2024.6.0
https://www.home-assistant.io/blog/2024/06/05/release-20246/
This commit is contained in:
parent
9fec7dfcc5
commit
d1aa5ac2d8
File diff suppressed because it is too large
Load Diff
@ -30,15 +30,6 @@ let
|
||||
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
|
||||
|
||||
(self: super: {
|
||||
aioaladdinconnect = super.aioaladdinconnect.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.1.58";
|
||||
src = fetchPypi {
|
||||
pname = "AIOAladdinConnect";
|
||||
inherit version;
|
||||
hash = "sha256-ymynaOKvnqqHIEuQc+5CagsaH5cHnQit8ileoUO6G+I=";
|
||||
};
|
||||
});
|
||||
|
||||
aioelectricitymaps = super.aioelectricitymaps.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.4.0";
|
||||
src = fetchFromGitHub {
|
||||
@ -102,13 +93,15 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
anova-wifi = super.anova-wifi.overridePythonAttrs (old: rec {
|
||||
version = "0.10.3";
|
||||
aiowithings = super.aiowithings.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.1.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Lash-L";
|
||||
repo = "anova_wifi";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tCmvp29KSCkc+g0w0odcB7vGjtDx6evac7XsHEF0syM=";
|
||||
inherit (oldAttrs.src)
|
||||
owner
|
||||
repo
|
||||
;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+pIIVCR+QsW9M3pH9Ss3dMvkeKM1OdhQ1y+s/T6pHtk=";
|
||||
};
|
||||
});
|
||||
|
||||
@ -179,16 +172,6 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
homematicip = super.homematicip.overridePythonAttrs rec {
|
||||
version = "1.1.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hahn-th";
|
||||
repo = "homematicip-rest-api";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-tx7/amXG3rLdUFgRPQcuf57qkBLAPxPWjLGSO7MrcWU=";
|
||||
};
|
||||
};
|
||||
|
||||
intellifire4py = super.intellifire4py.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.2.2";
|
||||
src = fetchFromGitHub {
|
||||
@ -458,16 +441,6 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
tesla-powerwall = super.tesla-powerwall.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.5.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrester";
|
||||
repo = "tesla_powerwall";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-if/FCfxAB48WGXZOMvCtdSOW2FWO43OrlcHZbXIPmGE=";
|
||||
};
|
||||
});
|
||||
|
||||
tuf = super.tuf.overridePythonAttrs rec {
|
||||
version = "2.1.0";
|
||||
src = fetchFromGitHub {
|
||||
@ -560,12 +533,12 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run update-component-packages.py after updating
|
||||
hassVersion = "2024.5.5";
|
||||
hassVersion = "2024.6.0";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
version = assert (componentPackages.version == hassVersion); hassVersion;
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
# check REQUIRED_PYTHON_VER in homeassistant/const.py
|
||||
disabled = python.pythonOlder "3.11";
|
||||
@ -578,13 +551,13 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-WAwLir9+O82kNBAwy0hUdfVxgDb3C4sIRDcyzVxfcuM=";
|
||||
hash = "sha256-MO7JtWedZJCqK4kVgwxNGaEikBoFTddMSYf8ZG8e9ic=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-kcZM+IK96/q2GXeDSJzJTbzbz5mYcHevTDLpKspII6o=";
|
||||
hash = "sha256-0gNwlkZoEDRk4vlX63lkpa6ykH79WxmiUeOv7oS6n2A=";
|
||||
};
|
||||
|
||||
build-system = with python.pkgs; [
|
||||
@ -641,8 +614,8 @@ in python.pkgs.buildPythonApplication rec {
|
||||
aiohttp
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-isal
|
||||
aiohttp-session
|
||||
aiohttp-fast-zlib
|
||||
aiozoneinfo
|
||||
astral
|
||||
async-interrupt
|
||||
atomicwrites-homeassistant
|
||||
|
@ -4,7 +4,7 @@ buildPythonPackage rec {
|
||||
# the frontend version corresponding to a specific home-assistant version can be found here
|
||||
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
||||
pname = "home-assistant-frontend";
|
||||
version = "20240501.1";
|
||||
version = "20240605.0";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-d/mlZfMri0E4lgMrIt3cRqpF3F12Xr7YuHqTogFON9E=";
|
||||
hash = "sha256-xuzaGS26BmUlJqfRD65Rc+NpQmyQ77nNLbPAyYuqGNo=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
@ -8,6 +8,7 @@ let
|
||||
airzone_cloud = [
|
||||
aioairzone
|
||||
];
|
||||
androidtv = home-assistant.getPackages "asuswrt" home-assistant.python.pkgs;
|
||||
bluetooth = [
|
||||
pyswitchbot
|
||||
];
|
||||
@ -91,6 +92,7 @@ let
|
||||
jellyfin = [
|
||||
# AssertionError: assert 'audio/x-flac' == 'audio/flac'
|
||||
"--deselect tests/components/jellyfin/test_media_source.py::test_resolve"
|
||||
"--deselect tests/components/jellyfin/test_media_source.py::test_audio_codec_resolve"
|
||||
# AssertionError: assert [+ received] == [- snapshot]
|
||||
"--deselect tests/components/jellyfin/test_media_source.py::test_music_library"
|
||||
];
|
||||
@ -107,6 +109,7 @@ let
|
||||
in lib.listToAttrs (map (component: lib.nameValuePair component (
|
||||
home-assistant.overridePythonAttrs (old: {
|
||||
pname = "homeassistant-test-${component}";
|
||||
pyproject = null;
|
||||
format = "other";
|
||||
|
||||
dontBuild = true;
|
||||
|
Loading…
Reference in New Issue
Block a user