home-assistant: 2021.3.4 -> 2021.4.0
This commit is contained in:
parent
49cfaef0c3
commit
2d4ec195d2
|
@ -2,7 +2,7 @@
|
||||||
# Do not edit!
|
# Do not edit!
|
||||||
|
|
||||||
{
|
{
|
||||||
version = "2021.3.4";
|
version = "2021.4.0";
|
||||||
components = {
|
components = {
|
||||||
"abode" = ps: with ps; [ abodepy ];
|
"abode" = ps: with ps; [ abodepy ];
|
||||||
"accuweather" = ps: with ps; [ accuweather ];
|
"accuweather" = ps: with ps; [ accuweather ];
|
||||||
|
@ -31,6 +31,7 @@
|
||||||
"ambient_station" = ps: with ps; [ aioambient ];
|
"ambient_station" = ps: with ps; [ aioambient ];
|
||||||
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
|
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
|
||||||
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
|
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
|
||||||
|
"analytics" = ps: with ps; [ aiohttp-cors ];
|
||||||
"android_ip_webcam" = ps: with ps; [ ]; # missing inputs: pydroid-ipcam
|
"android_ip_webcam" = ps: with ps; [ ]; # missing inputs: pydroid-ipcam
|
||||||
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
||||||
"anel_pwrctrl" = ps: with ps; [ ]; # missing inputs: anel_pwrctrl-homeassistant
|
"anel_pwrctrl" = ps: with ps; [ ]; # missing inputs: anel_pwrctrl-homeassistant
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"atag" = ps: with ps; [ ]; # missing inputs: pyatag
|
"atag" = ps: with ps; [ ]; # missing inputs: pyatag
|
||||||
"aten_pe" = ps: with ps; [ atenpdu ];
|
"aten_pe" = ps: with ps; [ atenpdu ];
|
||||||
"atome" = ps: with ps; [ ]; # missing inputs: pyatome
|
"atome" = ps: with ps; [ ]; # missing inputs: pyatome
|
||||||
"august" = ps: with ps; [ ]; # missing inputs: py-august
|
"august" = ps: with ps; [ yalexs ];
|
||||||
"aurora" = ps: with ps; [ auroranoaa ];
|
"aurora" = ps: with ps; [ auroranoaa ];
|
||||||
"aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
|
"aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
|
||||||
"auth" = ps: with ps; [ aiohttp-cors ];
|
"auth" = ps: with ps; [ aiohttp-cors ];
|
||||||
|
@ -154,7 +155,7 @@
|
||||||
"deconz" = ps: with ps; [ pydeconz ];
|
"deconz" = ps: with ps; [ pydeconz ];
|
||||||
"decora" = ps: with ps; [ bluepy ]; # missing inputs: decora
|
"decora" = ps: with ps; [ bluepy ]; # missing inputs: decora
|
||||||
"decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
|
"decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
|
||||||
"default_config" = ps: with ps; [ pynacl aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa netdisco pillow scapy sqlalchemy zeroconf ];
|
"default_config" = ps: with ps; [ pynacl aiodiscover aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa netdisco pillow scapy sqlalchemy zeroconf ];
|
||||||
"delijn" = ps: with ps; [ ]; # missing inputs: pydelijn
|
"delijn" = ps: with ps; [ ]; # missing inputs: pydelijn
|
||||||
"deluge" = ps: with ps; [ deluge-client ];
|
"deluge" = ps: with ps; [ deluge-client ];
|
||||||
"demo" = ps: with ps; [ aiohttp-cors ];
|
"demo" = ps: with ps; [ aiohttp-cors ];
|
||||||
|
@ -167,7 +168,7 @@
|
||||||
"device_tracker" = ps: with ps; [ ];
|
"device_tracker" = ps: with ps; [ ];
|
||||||
"devolo_home_control" = ps: with ps; [ aiohttp-cors devolo-home-control-api zeroconf ];
|
"devolo_home_control" = ps: with ps; [ aiohttp-cors devolo-home-control-api zeroconf ];
|
||||||
"dexcom" = ps: with ps; [ pydexcom ];
|
"dexcom" = ps: with ps; [ pydexcom ];
|
||||||
"dhcp" = ps: with ps; [ scapy ];
|
"dhcp" = ps: with ps; [ aiodiscover scapy ];
|
||||||
"dht" = ps: with ps; [ ]; # missing inputs: Adafruit-DHT
|
"dht" = ps: with ps; [ ]; # missing inputs: Adafruit-DHT
|
||||||
"dialogflow" = ps: with ps; [ aiohttp-cors ];
|
"dialogflow" = ps: with ps; [ aiohttp-cors ];
|
||||||
"digital_ocean" = ps: with ps; [ digital-ocean ];
|
"digital_ocean" = ps: with ps; [ digital-ocean ];
|
||||||
|
@ -277,7 +278,7 @@
|
||||||
"foscam" = ps: with ps; [ ]; # missing inputs: libpyfoscam
|
"foscam" = ps: with ps; [ ]; # missing inputs: libpyfoscam
|
||||||
"foursquare" = ps: with ps; [ aiohttp-cors ];
|
"foursquare" = ps: with ps; [ aiohttp-cors ];
|
||||||
"free_mobile" = ps: with ps; [ ]; # missing inputs: freesms
|
"free_mobile" = ps: with ps; [ ]; # missing inputs: freesms
|
||||||
"freebox" = ps: with ps; [ aiohttp-cors freebox-api netdisco zeroconf ];
|
"freebox" = ps: with ps; [ freebox-api ];
|
||||||
"freedns" = ps: with ps; [ ];
|
"freedns" = ps: with ps; [ ];
|
||||||
"fritz" = ps: with ps; [ fritzconnection ];
|
"fritz" = ps: with ps; [ fritzconnection ];
|
||||||
"fritzbox" = ps: with ps; [ pyfritzhome ];
|
"fritzbox" = ps: with ps; [ pyfritzhome ];
|
||||||
|
@ -326,7 +327,6 @@
|
||||||
"gree" = ps: with ps; [ ]; # missing inputs: greeclimate
|
"gree" = ps: with ps; [ ]; # missing inputs: greeclimate
|
||||||
"greeneye_monitor" = ps: with ps; [ ]; # missing inputs: greeneye_monitor
|
"greeneye_monitor" = ps: with ps; [ ]; # missing inputs: greeneye_monitor
|
||||||
"greenwave" = ps: with ps; [ ]; # missing inputs: greenwavereality
|
"greenwave" = ps: with ps; [ ]; # missing inputs: greenwavereality
|
||||||
"griddy" = ps: with ps; [ ]; # missing inputs: griddypower
|
|
||||||
"group" = ps: with ps; [ ];
|
"group" = ps: with ps; [ ];
|
||||||
"growatt_server" = ps: with ps; [ ]; # missing inputs: growattServer
|
"growatt_server" = ps: with ps; [ ]; # missing inputs: growattServer
|
||||||
"gstreamer" = ps: with ps; [ ]; # missing inputs: gstreamer-player
|
"gstreamer" = ps: with ps; [ ]; # missing inputs: gstreamer-player
|
||||||
|
@ -352,6 +352,7 @@
|
||||||
"hive" = ps: with ps; [ ]; # missing inputs: pyhiveapi
|
"hive" = ps: with ps; [ ]; # missing inputs: pyhiveapi
|
||||||
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
|
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
|
||||||
"home_connect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: homeconnect
|
"home_connect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: homeconnect
|
||||||
|
"home_plus_control" = ps: with ps; [ aiohttp-cors homepluscontrol ];
|
||||||
"homeassistant" = ps: with ps; [ ];
|
"homeassistant" = ps: with ps; [ ];
|
||||||
"homekit" = ps: with ps; [ HAP-python pyqrcode pyturbojpeg aiohttp-cors base36 fnvhash ha-ffmpeg zeroconf ];
|
"homekit" = ps: with ps; [ HAP-python pyqrcode pyturbojpeg aiohttp-cors base36 fnvhash ha-ffmpeg zeroconf ];
|
||||||
"homekit_controller" = ps: with ps; [ aiohomekit aiohttp-cors zeroconf ];
|
"homekit_controller" = ps: with ps; [ aiohomekit aiohttp-cors zeroconf ];
|
||||||
|
@ -448,7 +449,7 @@
|
||||||
"linux_battery" = ps: with ps; [ batinfo ];
|
"linux_battery" = ps: with ps; [ batinfo ];
|
||||||
"lirc" = ps: with ps; [ ]; # missing inputs: python-lirc
|
"lirc" = ps: with ps; [ ]; # missing inputs: python-lirc
|
||||||
"litejet" = ps: with ps; [ ]; # missing inputs: pylitejet
|
"litejet" = ps: with ps; [ ]; # missing inputs: pylitejet
|
||||||
"litterrobot" = ps: with ps; [ ]; # missing inputs: pylitterbot
|
"litterrobot" = ps: with ps; [ pylitterbot ];
|
||||||
"llamalab_automate" = ps: with ps; [ ];
|
"llamalab_automate" = ps: with ps; [ ];
|
||||||
"local_file" = ps: with ps; [ ];
|
"local_file" = ps: with ps; [ ];
|
||||||
"local_ip" = ps: with ps; [ ];
|
"local_ip" = ps: with ps; [ ];
|
||||||
|
@ -715,6 +716,7 @@
|
||||||
"scene" = ps: with ps; [ ];
|
"scene" = ps: with ps; [ ];
|
||||||
"schluter" = ps: with ps; [ ]; # missing inputs: py-schluter
|
"schluter" = ps: with ps; [ ]; # missing inputs: py-schluter
|
||||||
"scrape" = ps: with ps; [ beautifulsoup4 jsonpath xmltodict ];
|
"scrape" = ps: with ps; [ beautifulsoup4 jsonpath xmltodict ];
|
||||||
|
"screenlogic" = ps: with ps; [ screenlogicpy ];
|
||||||
"script" = ps: with ps; [ ];
|
"script" = ps: with ps; [ ];
|
||||||
"scsgate" = ps: with ps; [ ]; # missing inputs: scsgate
|
"scsgate" = ps: with ps; [ ]; # missing inputs: scsgate
|
||||||
"search" = ps: with ps; [ aiohttp-cors ];
|
"search" = ps: with ps; [ aiohttp-cors ];
|
||||||
|
@ -864,6 +866,7 @@
|
||||||
"tplink" = ps: with ps; [ pyhs100 ];
|
"tplink" = ps: with ps; [ pyhs100 ];
|
||||||
"tplink_lte" = ps: with ps; [ ]; # missing inputs: tp-connected
|
"tplink_lte" = ps: with ps; [ ]; # missing inputs: tp-connected
|
||||||
"traccar" = ps: with ps; [ aiohttp-cors stringcase ]; # missing inputs: pytraccar
|
"traccar" = ps: with ps; [ aiohttp-cors stringcase ]; # missing inputs: pytraccar
|
||||||
|
"trace" = ps: with ps; [ ];
|
||||||
"trackr" = ps: with ps; [ ]; # missing inputs: pytrackr
|
"trackr" = ps: with ps; [ ]; # missing inputs: pytrackr
|
||||||
"tradfri" = ps: with ps; [ ]; # missing inputs: pytradfri[async]
|
"tradfri" = ps: with ps; [ ]; # missing inputs: pytradfri[async]
|
||||||
"trafikverket_train" = ps: with ps; [ pytrafikverket ];
|
"trafikverket_train" = ps: with ps; [ pytrafikverket ];
|
||||||
|
@ -906,7 +909,7 @@
|
||||||
"velux" = ps: with ps; [ pyvlx ];
|
"velux" = ps: with ps; [ pyvlx ];
|
||||||
"venstar" = ps: with ps; [ venstarcolortouch ];
|
"venstar" = ps: with ps; [ venstarcolortouch ];
|
||||||
"vera" = ps: with ps; [ pyvera ];
|
"vera" = ps: with ps; [ pyvera ];
|
||||||
"verisure" = ps: with ps; [ jsonpath vsure ];
|
"verisure" = ps: with ps; [ vsure ];
|
||||||
"versasense" = ps: with ps; [ ]; # missing inputs: pyversasense
|
"versasense" = ps: with ps; [ ]; # missing inputs: pyversasense
|
||||||
"version" = ps: with ps; [ pyhaversion ];
|
"version" = ps: with ps; [ pyhaversion ];
|
||||||
"vesync" = ps: with ps; [ pyvesync ];
|
"vesync" = ps: with ps; [ pyvesync ];
|
||||||
|
@ -974,7 +977,7 @@
|
||||||
"zeroconf" = ps: with ps; [ aiohttp-cors zeroconf ];
|
"zeroconf" = ps: with ps; [ aiohttp-cors zeroconf ];
|
||||||
"zerproc" = ps: with ps; [ pyzerproc ];
|
"zerproc" = ps: with ps; [ pyzerproc ];
|
||||||
"zestimate" = ps: with ps; [ xmltodict ];
|
"zestimate" = ps: with ps; [ xmltodict ];
|
||||||
"zha" = ps: with ps; [ bellows pyserial-asyncio pyserial zha-quirks zigpy-cc zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zigpy ];
|
"zha" = ps: with ps; [ aiohttp-cors bellows pyserial-asyncio pyserial zeroconf zha-quirks zigpy-cc zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zigpy ];
|
||||||
"zhong_hong" = ps: with ps; [ ]; # missing inputs: zhong_hong_hvac
|
"zhong_hong" = ps: with ps; [ ]; # missing inputs: zhong_hong_hvac
|
||||||
"ziggo_mediabox_xl" = ps: with ps; [ ]; # missing inputs: ziggo-mediabox-xl
|
"ziggo_mediabox_xl" = ps: with ps; [ ]; # missing inputs: ziggo-mediabox-xl
|
||||||
"zodiac" = ps: with ps; [ ];
|
"zodiac" = ps: with ps; [ ];
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, python3
|
, python3
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
|
||||||
|
@ -81,7 +80,7 @@ let
|
||||||
extraBuildInputs = extraPackages py.pkgs;
|
extraBuildInputs = extraPackages py.pkgs;
|
||||||
|
|
||||||
# Don't forget to run parse-requirements.py after updating
|
# Don't forget to run parse-requirements.py after updating
|
||||||
hassVersion = "2021.3.4";
|
hassVersion = "2021.4.0";
|
||||||
|
|
||||||
in with py.pkgs; buildPythonApplication rec {
|
in with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
|
@ -100,32 +99,22 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "110pvin39lr40zd3lhb8zvh2wafl0k0dy3nbmc483yafy31xa4kw";
|
sha256 = "1gkbkyxqsw3isdyskzi0ib07fgqvirnr20jkhrz86vl0k9ix8hwf";
|
||||||
};
|
};
|
||||||
|
|
||||||
# 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
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
|
||||||
# Fix I-frame interval in stream test video
|
|
||||||
# https://github.com/home-assistant/core/pull/47638
|
|
||||||
url = "https://github.com/home-assistant/core/commit/d9bf63103fde44ddd38fb6b9a510d82609802b36.patch";
|
|
||||||
sha256 = "1y34cmw9zqb2lxyzm0q7vxlm05wwz76mhysgnh1jn39484fn9f9m";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "aiohttp==3.7.4" "aiohttp>=3.7.3" \
|
--replace "awesomeversion==21.2.3" "awesomeversion" \
|
||||||
--replace "attrs==19.3.0" "attrs>=19.3.0" \
|
--replace "bcrypt==3.1.7" "bcrypt" \
|
||||||
--replace "awesomeversion==21.2.3" "awesomeversion>=21.2.3" \
|
|
||||||
--replace "bcrypt==3.1.7" "bcrypt>=3.1.7" \
|
|
||||||
--replace "cryptography==3.3.2" "cryptography" \
|
--replace "cryptography==3.3.2" "cryptography" \
|
||||||
--replace "httpx==0.16.1" "httpx>=0.16.1" \
|
|
||||||
--replace "jinja2>=2.11.3" "jinja2>=2.11.2" \
|
|
||||||
--replace "pip>=8.0.3,<20.3" "pip" \
|
--replace "pip>=8.0.3,<20.3" "pip" \
|
||||||
--replace "pytz>=2021.1" "pytz>=2020.5" \
|
--replace "pytz>=2021.1" "pytz" \
|
||||||
--replace "pyyaml==5.4.1" "pyyaml" \
|
--replace "pyyaml==5.4.1" "pyyaml" \
|
||||||
--replace "ruamel.yaml==0.15.100" "ruamel.yaml>=0.15.100"
|
--replace "ruamel.yaml==0.15.100" "ruamel.yaml"
|
||||||
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -179,6 +168,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
componentTests = [
|
componentTests = [
|
||||||
"accuweather"
|
"accuweather"
|
||||||
"airly"
|
"airly"
|
||||||
|
"analytics"
|
||||||
"alert"
|
"alert"
|
||||||
"api"
|
"api"
|
||||||
"auth"
|
"auth"
|
||||||
|
@ -231,6 +221,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"hddtemp"
|
"hddtemp"
|
||||||
"history"
|
"history"
|
||||||
"history_stats"
|
"history_stats"
|
||||||
|
"home_plus_control"
|
||||||
"homekit"
|
"homekit"
|
||||||
"homekit_controller"
|
"homekit_controller"
|
||||||
"homeassistant"
|
"homeassistant"
|
||||||
|
@ -253,6 +244,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"ipp"
|
"ipp"
|
||||||
"kmtronic"
|
"kmtronic"
|
||||||
"light"
|
"light"
|
||||||
|
"litterrobot"
|
||||||
"local_file"
|
"local_file"
|
||||||
"local_ip"
|
"local_ip"
|
||||||
"lock"
|
"lock"
|
||||||
|
@ -298,6 +290,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"rss_feed_template"
|
"rss_feed_template"
|
||||||
"safe_mode"
|
"safe_mode"
|
||||||
"scene"
|
"scene"
|
||||||
|
"screenlogic"
|
||||||
"script"
|
"script"
|
||||||
"search"
|
"search"
|
||||||
"shell_command"
|
"shell_command"
|
||||||
|
@ -328,6 +321,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"time_date"
|
"time_date"
|
||||||
"timer"
|
"timer"
|
||||||
"tod"
|
"tod"
|
||||||
|
"trace"
|
||||||
"tts"
|
"tts"
|
||||||
"universal"
|
"universal"
|
||||||
"updater"
|
"updater"
|
||||||
|
@ -357,6 +351,8 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"--dist loadfile"
|
"--dist loadfile"
|
||||||
# tests are located in tests/
|
# tests are located in tests/
|
||||||
"tests"
|
"tests"
|
||||||
|
# screenlogic/test_config_flow.py: Tries to send out UDP broadcasts
|
||||||
|
"--deselect tests/components/screenlogic/test_config_flow.py::test_form_cannot_connect"
|
||||||
# dynamically add packages required for component tests
|
# dynamically add packages required for component tests
|
||||||
] ++ map (component: "tests/components/" + component) componentTests;
|
] ++ map (component: "tests/components/" + component) componentTests;
|
||||||
|
|
||||||
|
@ -379,9 +375,13 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
# generic/test_camera.py: AssertionError: 500 == 200
|
# generic/test_camera.py: AssertionError: 500 == 200
|
||||||
"test_fetching_without_verify_ssl"
|
"test_fetching_without_verify_ssl"
|
||||||
"test_fetching_url_with_verify_ssl"
|
"test_fetching_url_with_verify_ssl"
|
||||||
|
# util/test_package.py: AssertionError on package.is_installed('homeassistant>=999.999.999')
|
||||||
|
"test_check_package_version_does_not_match"
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
export HOME="$TEMPDIR"
|
||||||
|
|
||||||
# the tests require the existance of a media dir
|
# the tests require the existance of a media dir
|
||||||
mkdir /build/media
|
mkdir /build/media
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,11 @@ 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 = "20210302.6";
|
version = "20210407.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-h3jCqfAPg+z6vsdLm5Pdr+7PCEWW58GCG9viIz3Mi64=";
|
sha256 = "sha256-7kgL6Ixlc1OZ+3sUAuvJd7vgY6FBgPFEKi6xhq7fiBc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# there is nothing to strip in this package
|
# there is nothing to strip in this package
|
||||||
|
|
Loading…
Reference in a new issue