home-assistant: 2022.5.5 -> 2022.6.0

https://www.home-assistant.io/blog/2022/06/01/release-20226/
This commit is contained in:
Martin Weinelt 2022-06-01 17:13:09 +02:00
parent 9a24d8ca63
commit 654ae85a58
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
3 changed files with 61 additions and 32 deletions

View file

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2022.5.5"; version = "2022.6.0";
components = { components = {
"abode" = ps: with ps; [ "abode" = ps: with ps; [
abodepy abodepy
@ -140,6 +140,9 @@
pyatv pyatv
zeroconf zeroconf
]; ];
"application_credentials" = ps: with ps; [
aiohttp-cors
];
"apprise" = ps: with ps; [ "apprise" = ps: with ps; [
apprise apprise
]; ];
@ -236,6 +239,8 @@
aiohttp-cors aiohttp-cors
securetar securetar
]; ];
"baf" = ps: with ps; [
]; # missing inputs: aiobafi6
"baidu" = ps: with ps; [ "baidu" = ps: with ps; [
]; # missing inputs: baidu-aip ]; # missing inputs: baidu-aip
"balboa" = ps: with ps; [ "balboa" = ps: with ps; [
@ -288,7 +293,7 @@
bimmer-connected bimmer-connected
]; ];
"bond" = ps: with ps; [ "bond" = ps: with ps; [
bond-api bond-async
]; ];
"bosch_shc" = ps: with ps; [ "bosch_shc" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -952,6 +957,10 @@
"geo_rss_events" = ps: with ps; [ "geo_rss_events" = ps: with ps; [
georss-generic-client georss-generic-client
]; ];
"geocaching" = ps: with ps; [
aiohttp-cors
geocachingapi
];
"geofency" = ps: with ps; [ "geofency" = ps: with ps; [
aiohttp-cors aiohttp-cors
]; ];
@ -1049,6 +1058,16 @@
"hangouts" = ps: with ps; [ "hangouts" = ps: with ps; [
hangups hangups
]; ];
"hardkernel" = ps: with ps; [
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
"hardware" = ps: with ps; [
];
"harman_kardon_avr" = ps: with ps; [ "harman_kardon_avr" = ps: with ps; [
hkavr hkavr
]; ];
@ -1139,7 +1158,7 @@
homematicip homematicip
]; ];
"homewizard" = ps: with ps; [ "homewizard" = ps: with ps; [
aiohwenergy python-homewizard-energy
]; ];
"homeworks" = ps: with ps; [ "homeworks" = ps: with ps; [
pyhomeworks pyhomeworks
@ -1187,6 +1206,9 @@
"ialarm" = ps: with ps; [ "ialarm" = ps: with ps; [
pyialarm pyialarm
]; ];
"ialarm_xr" = ps: with ps; [
pyialarmxr
];
"iammeter" = ps: with ps; [ "iammeter" = ps: with ps; [
]; # missing inputs: iammeter ]; # missing inputs: iammeter
"iaqualink" = ps: with ps; [ "iaqualink" = ps: with ps; [
@ -1379,6 +1401,9 @@
"launch_library" = ps: with ps; [ "launch_library" = ps: with ps; [
pylaunches pylaunches
]; ];
"laundrify" = ps: with ps; [
laundrify-aio
];
"lcn" = ps: with ps; [ "lcn" = ps: with ps; [
pypck pypck
]; ];
@ -1863,7 +1888,6 @@
ondilo ondilo
]; ];
"onewire" = ps: with ps; [ "onewire" = ps: with ps; [
pi1wire
pyownet pyownet
]; ];
"onkyo" = ps: with ps; [ "onkyo" = ps: with ps; [
@ -2138,13 +2162,21 @@
]; ];
"rainforest_eagle" = ps: with ps; [ "rainforest_eagle" = ps: with ps; [
aioeagle aioeagle
ueagle eagle100
]; ];
"rainmachine" = ps: with ps; [ "rainmachine" = ps: with ps; [
regenmaschine regenmaschine
]; ];
"random" = ps: with ps; [ "random" = ps: with ps; [
]; ];
"raspberry_pi" = ps: with ps; [
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
"raspyrfm" = ps: with ps; [ "raspyrfm" = ps: with ps; [
]; # missing inputs: raspyrfm-client ]; # missing inputs: raspyrfm-client
"rdw" = ps: with ps; [ "rdw" = ps: with ps; [
@ -2227,8 +2259,6 @@
]; ];
"rpi_camera" = ps: with ps; [ "rpi_camera" = ps: with ps; [
]; ];
"rpi_gpio" = ps: with ps; [
]; # missing inputs: RPi.GPIO
"rpi_power" = ps: with ps; [ "rpi_power" = ps: with ps; [
rpi-bad-power rpi-bad-power
]; ];
@ -2287,6 +2317,7 @@
"scrape" = ps: with ps; [ "scrape" = ps: with ps; [
beautifulsoup4 beautifulsoup4
jsonpath jsonpath
lxml
xmltodict xmltodict
]; ];
"screenlogic" = ps: with ps; [ "screenlogic" = ps: with ps; [
@ -3035,6 +3066,9 @@
]; ];
"worxlandroid" = ps: with ps; [ "worxlandroid" = ps: with ps; [
]; ];
"ws66i" = ps: with ps; [
pyws66i
];
"wsdot" = ps: with ps; [ "wsdot" = ps: with ps; [
]; ];
"x10" = ps: with ps; [ "x10" = ps: with ps; [
@ -3103,6 +3137,10 @@
aioftp aioftp
ha-ffmpeg ha-ffmpeg
]; ];
"yolink" = ps: with ps; [
aiohttp-cors
yolink-api
];
"youless" = ps: with ps; [ "youless" = ps: with ps; [
youless-api youless-api
]; ];
@ -3182,6 +3220,7 @@
"airtouch4" "airtouch4"
"airvisual" "airvisual"
"airzone" "airzone"
"aladdin_connect"
"alarm_control_panel" "alarm_control_panel"
"alarmdecoder" "alarmdecoder"
"alert" "alert"
@ -3196,6 +3235,7 @@
"apache_kafka" "apache_kafka"
"api" "api"
"apple_tv" "apple_tv"
"application_credentials"
"apprise" "apprise"
"aprs" "aprs"
"arcam_fmj" "arcam_fmj"
@ -3353,6 +3393,7 @@
"geo_json_events" "geo_json_events"
"geo_location" "geo_location"
"geo_rss_events" "geo_rss_events"
"geocaching"
"geofency" "geofency"
"geonetnz_quakes" "geonetnz_quakes"
"geonetnz_volcano" "geonetnz_volcano"
@ -3378,6 +3419,8 @@
"guardian" "guardian"
"habitica" "habitica"
"hangouts" "hangouts"
"hardkernel"
"hardware"
"harmony" "harmony"
"hassio" "hassio"
"hddtemp" "hddtemp"
@ -3407,6 +3450,7 @@
"hvv_departures" "hvv_departures"
"hyperion" "hyperion"
"ialarm" "ialarm"
"ialarm_xr"
"iaqualink" "iaqualink"
"icloud" "icloud"
"ifttt" "ifttt"
@ -3447,6 +3491,7 @@
"kulersky" "kulersky"
"lastfm" "lastfm"
"launch_library" "launch_library"
"laundrify"
"lcn" "lcn"
"light" "light"
"litterrobot" "litterrobot"
@ -3586,6 +3631,7 @@
"rainforest_eagle" "rainforest_eagle"
"rainmachine" "rainmachine"
"random" "random"
"raspberry_pi"
"rdw" "rdw"
"recollect_waste" "recollect_waste"
"recorder" "recorder"
@ -3778,6 +3824,7 @@
"wled" "wled"
"workday" "workday"
"worldclock" "worldclock"
"ws66i"
"wsdot" "wsdot"
"xbox" "xbox"
"xiaomi" "xiaomi"
@ -3789,6 +3836,7 @@
"yandex_transport" "yandex_transport"
"yandextts" "yandextts"
"yeelight" "yeelight"
"yolink"
"youless" "youless"
"zeroconf" "zeroconf"
"zerproc" "zerproc"

View file

@ -72,19 +72,6 @@ let
}); });
}) })
(self: super: {
huawei-lte-api = super.huawei-lte-api.overridePythonAttrs (oldAttrs: rec {
version = "1.4.18";
src = fetchFromGitHub {
owner = "Salamek";
repo = "huawei-lte-api";
rev = version;
sha256 = "1qaqxmh03j10wa9wqbwgc5r3ays8wfr7bldvsm45fycr3qfyn5fg";
};
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ python3.pkgs.dicttoxml ];
});
})
# Pinned due to API changes in pyruckus>0.12 # Pinned due to API changes in pyruckus>0.12
(self: super: { (self: super: {
pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec { pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {
@ -179,7 +166,7 @@ let
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs); extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "2022.5.5"; hassVersion = "2022.6.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -197,7 +184,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = version; rev = version;
hash = "sha256-uVB3Yg3f0fNkq2rav7hmbJ9IAMg0UIrdMshJVgOharA="; hash = "sha256-8s6CyTNA61UgrflpQ/RZnAPa/xI4VFdEQJnN25k3vuc=";
}; };
# leave this in, so users don't have to constantly update their downstream patch handling # leave this in, so users don't have to constantly update their downstream patch handling
@ -210,24 +197,18 @@ in python.pkgs.buildPythonApplication rec {
postPatch = let postPatch = let
relaxedConstraints = [ relaxedConstraints = [
"aiohttp"
"async_timeout"
"attrs" "attrs"
"awesomeversion" "awesomeversion"
"bcrypt" "bcrypt"
"cryptography"
"httpx" "httpx"
"jinja2" "PyJWT"
"pip"
"requests"
"yarl"
]; ];
in '' in ''
sed -r -i \ sed -r -i \
${lib.concatStringsSep "\n" (map (package: ${lib.concatStringsSep "\n" (map (package:
''-e 's@${package}[<>=]+.*@${package}@g' \'' ''-e 's@${package}[<>=]+.*@${package}@g' \''
) relaxedConstraints)} ) relaxedConstraints)}
setup.cfg setup.cfg
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"' substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
''; '';

View file

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # 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 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20220504.1"; version = "20220531.0";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend"; pname = "home_assistant_frontend";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
sha256 = "sha256-EU9I/0+EmcNr7eYq3Z5J5/KiWu+Qz0+wn7UZMJFBxp0="; sha256 = "sha256-NySYrHmU1OV11WZSqe6GURPKnwcLukXF0QUxxlPXUG4=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package