forked from mirrors/nixpkgs
home-assistant: 0.106.6 -> 0.107.0
This commit is contained in:
parent
808909d0db
commit
af2e41c4dd
|
@ -2,7 +2,7 @@
|
|||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "0.106.6";
|
||||
version = "0.107.0";
|
||||
components = {
|
||||
"abode" = ps: with ps; [ ]; # missing inputs: abodepy
|
||||
"acer_projector" = ps: with ps; [ pyserial];
|
||||
|
@ -55,9 +55,10 @@
|
|||
"aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
|
||||
"auth" = ps: with ps; [ aiohttp-cors];
|
||||
"automatic" = ps: with ps; [ aiohttp-cors]; # missing inputs: aioautomatic
|
||||
"automation" = ps: with ps; [ aiohttp-cors];
|
||||
"automation" = ps: with ps; [ ];
|
||||
"avea" = ps: with ps; [ ]; # missing inputs: avea
|
||||
"avion" = ps: with ps; [ ]; # missing inputs: avion
|
||||
"avri" = ps: with ps; [ ]; # missing inputs: avri-api
|
||||
"awair" = ps: with ps; [ ]; # missing inputs: python_awair
|
||||
"aws" = ps: with ps; [ ]; # missing inputs: aiobotocore
|
||||
"axis" = ps: with ps; [ ]; # missing inputs: axis
|
||||
|
@ -187,6 +188,7 @@
|
|||
"ecovacs" = ps: with ps; [ ]; # missing inputs: sucks
|
||||
"eddystone_temperature" = ps: with ps; [ construct]; # missing inputs: beacontools[scan]
|
||||
"edimax" = ps: with ps; [ ]; # missing inputs: pyedimax
|
||||
"edl21" = ps: with ps; [ ]; # missing inputs: pysml
|
||||
"ee_brightbox" = ps: with ps; [ ]; # missing inputs: eebrightbox
|
||||
"efergy" = ps: with ps; [ ];
|
||||
"egardia" = ps: with ps; [ ]; # missing inputs: pythonegardia
|
||||
|
@ -217,6 +219,7 @@
|
|||
"eufy" = ps: with ps; [ ]; # missing inputs: lakeside
|
||||
"everlights" = ps: with ps; [ ]; # missing inputs: pyeverlights
|
||||
"evohome" = ps: with ps; [ ]; # missing inputs: evohome-async
|
||||
"ezviz" = ps: with ps; [ ]; # missing inputs: pyezviz
|
||||
"facebook" = ps: with ps; [ ];
|
||||
"facebox" = ps: with ps; [ ];
|
||||
"fail2ban" = ps: with ps; [ ];
|
||||
|
@ -299,6 +302,7 @@
|
|||
"graphite" = ps: with ps; [ ];
|
||||
"greeneye_monitor" = ps: with ps; [ ]; # missing inputs: greeneye_monitor
|
||||
"greenwave" = ps: with ps; [ ]; # missing inputs: greenwavereality
|
||||
"griddy" = ps: with ps; [ ]; # missing inputs: griddypower
|
||||
"group" = ps: with ps; [ ];
|
||||
"growatt_server" = ps: with ps; [ ]; # missing inputs: growattServer
|
||||
"gstreamer" = ps: with ps; [ ]; # missing inputs: gstreamer-player
|
||||
|
@ -307,7 +311,7 @@
|
|||
"hangouts" = ps: with ps; [ ]; # missing inputs: hangups
|
||||
"harman_kardon_avr" = ps: with ps; [ ]; # missing inputs: hkavr
|
||||
"harmony" = ps: with ps; [ ]; # missing inputs: aioharmony
|
||||
"hassio" = ps: with ps; [ aiohttp-cors]; # missing inputs: home-assistant-frontend
|
||||
"hassio" = ps: with ps; [ aiohttp-cors];
|
||||
"haveibeenpwned" = ps: with ps; [ ];
|
||||
"hddtemp" = ps: with ps; [ ];
|
||||
"hdmi_cec" = ps: with ps; [ ]; # missing inputs: pyCEC
|
||||
|
@ -318,14 +322,13 @@
|
|||
"hikvisioncam" = ps: with ps; [ ]; # missing inputs: hikvision
|
||||
"hisense_aehw4a1" = ps: with ps; [ ]; # missing inputs: pyaehw4a1
|
||||
"history" = ps: with ps; [ aiohttp-cors sqlalchemy];
|
||||
"history_graph" = ps: with ps; [ aiohttp-cors sqlalchemy];
|
||||
"history_stats" = ps: with ps; [ aiohttp-cors sqlalchemy];
|
||||
"hitron_coda" = ps: with ps; [ ];
|
||||
"hive" = ps: with ps; [ ]; # missing inputs: pyhiveapi
|
||||
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
|
||||
"homeassistant" = ps: with ps; [ ];
|
||||
"homekit" = ps: with ps; [ ]; # missing inputs: HAP-python
|
||||
"homekit_controller" = ps: with ps; [ ]; # missing inputs: homekit[IP]
|
||||
"homekit_controller" = ps: with ps; [ ]; # missing inputs: aiohomekit[IP]
|
||||
"homematic" = ps: with ps; [ pyhomematic];
|
||||
"homematicip_cloud" = ps: with ps; [ ]; # missing inputs: homematicip
|
||||
"homeworks" = ps: with ps; [ ]; # missing inputs: pyhomeworks
|
||||
|
@ -342,6 +345,7 @@
|
|||
"hydrawise" = ps: with ps; [ ]; # missing inputs: hydrawiser
|
||||
"hyperion" = ps: with ps; [ ];
|
||||
"ialarm" = ps: with ps; [ ]; # missing inputs: pyialarm
|
||||
"iammeter" = ps: with ps; [ ]; # missing inputs: iammeter
|
||||
"iaqualink" = ps: with ps; [ ]; # missing inputs: iaqualink
|
||||
"icloud" = ps: with ps; [ pyicloud];
|
||||
"idteck_prox" = ps: with ps; [ ]; # missing inputs: rfk101py
|
||||
|
@ -607,6 +611,7 @@
|
|||
"qnap" = ps: with ps; [ ]; # missing inputs: qnapstats
|
||||
"qrcode" = ps: with ps; [ pillow]; # missing inputs: pyzbar
|
||||
"quantum_gateway" = ps: with ps; [ ]; # missing inputs: quantum-gateway
|
||||
"qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro
|
||||
"qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch
|
||||
"rachio" = ps: with ps; [ aiohttp-cors]; # missing inputs: rachiopy
|
||||
"radarr" = ps: with ps; [ ];
|
||||
|
@ -652,7 +657,7 @@
|
|||
"safe_mode" = ps: with ps; [ aiohttp-cors hass-nabucasa]; # missing inputs: home-assistant-frontend
|
||||
"saj" = ps: with ps; [ ]; # missing inputs: pysaj
|
||||
"salt" = ps: with ps; [ ]; # missing inputs: saltbox
|
||||
"samsungtv" = ps: with ps; [ ]; # missing inputs: samsungctl[websocket]
|
||||
"samsungtv" = ps: with ps; [ ]; # missing inputs: samsungctl[websocket] samsungtvws[websocket]
|
||||
"satel_integra" = ps: with ps; [ ]; # missing inputs: satel_integra
|
||||
"scene" = ps: with ps; [ ];
|
||||
"scrape" = ps: with ps; [ beautifulsoup4];
|
||||
|
@ -760,6 +765,7 @@
|
|||
"tado" = ps: with ps; [ ]; # missing inputs: python-tado
|
||||
"tahoma" = ps: with ps; [ ]; # missing inputs: tahoma-api
|
||||
"tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility
|
||||
"tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig
|
||||
"tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff
|
||||
"tautulli" = ps: with ps; [ ]; # missing inputs: pytautulli
|
||||
"tcp" = ps: with ps; [ ];
|
||||
|
@ -865,7 +871,6 @@
|
|||
"waze_travel_time" = ps: with ps; [ WazeRouteCalculator];
|
||||
"weather" = ps: with ps; [ ];
|
||||
"webhook" = ps: with ps; [ aiohttp-cors];
|
||||
"weblink" = ps: with ps; [ ];
|
||||
"webostv" = ps: with ps; [ ]; # missing inputs: aiopylgtv
|
||||
"websocket_api" = ps: with ps; [ aiohttp-cors];
|
||||
"wemo" = ps: with ps; [ ]; # missing inputs: pywemo
|
||||
|
|
|
@ -67,7 +67,7 @@ let
|
|||
extraBuildInputs = extraPackages py.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "0.106.6";
|
||||
hassVersion = "0.107.0";
|
||||
|
||||
in with py.pkgs; buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
|
@ -75,7 +75,9 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
patches = [ ./relax-importlib-metadata-pyaml.patch ];
|
||||
patches = [
|
||||
./relax-deps.patch
|
||||
];
|
||||
|
||||
inherit availableComponents;
|
||||
|
||||
|
@ -84,7 +86,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
owner = "home-assistant";
|
||||
repo = "home-assistant";
|
||||
rev = version;
|
||||
sha256 = "11kv5lmm8nxp7yv3w43mzmgzkafddy0z6wl2878p96iyil1w7qhb";
|
||||
sha256 = "080n4qsmzd8lxrh5dwby736jzzpnpirixsh0fby78dym4125ssm7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -93,12 +95,12 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
pyjwt cryptography pip python-slugify pytz pyyaml requests ruamel_yaml
|
||||
setuptools voluptuous voluptuous-serialize
|
||||
# From http, frontend and recorder components and auth.mfa_modules.totp
|
||||
sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode
|
||||
sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode ciso8601
|
||||
] ++ componentBuildInputs ++ extraBuildInputs;
|
||||
|
||||
checkInputs = [
|
||||
asynctest pytest pytest-aiohttp requests-mock pydispatcher aiohue netdisco
|
||||
hass-nabucasa defusedxml
|
||||
hass-nabucasa defusedxml zeroconf
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -112,10 +114,12 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
# - components' dependencies are not included, so they cannot be tested
|
||||
# - test_merge_id_schema requires pyqwikswitch
|
||||
# - unclear why test_merge fails: assert merge_log_err.call_count != 0
|
||||
py.test --ignore tests/components -k "not test_merge_id_schema and not test_merge"
|
||||
# - test_setup_safe_mode_if_no_frontend: requires dependencies for components we have not packaged
|
||||
py.test --ignore tests/components -k "not test_setup_safe_mode_if_no_frontend and not test_merge_id_schema and not test_merge"
|
||||
|
||||
# Some basic components should be tested however
|
||||
py.test \
|
||||
tests/components/{api,config,configurator,demo,discovery,frontend,group,history,history_graph} \
|
||||
tests/components/{api,config,configurator,demo,discovery,frontend,group,history} \
|
||||
tests/components/{homeassistant,http,logger,script,shell_command,system_log,websocket_api}
|
||||
'';
|
||||
|
||||
|
|
13
pkgs/servers/home-assistant/relax-deps.patch
Normal file
13
pkgs/servers/home-assistant/relax-deps.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- a/setup.py 2020-03-18 15:34:35.474693786 +0000
|
||||
+++ b/setup.py 2020-03-18 15:49:07.185801916 +0000
|
||||
@@ -47,8 +47,8 @@
|
||||
"pip>=8.0.3",
|
||||
"python-slugify==4.0.0",
|
||||
"pytz>=2019.03",
|
||||
- "pyyaml==5.3",
|
||||
- "requests==2.23.0",
|
||||
+ "pyyaml>=5.2",
|
||||
+ "requests>=2.22.0",
|
||||
"ruamel.yaml==0.15.100",
|
||||
"voluptuous==0.11.7",
|
||||
"voluptuous-serialize==2.3.0",
|
|
@ -1,22 +0,0 @@
|
|||
diff --git a/setup.py b/setup.py
|
||||
index 7f9155d9a..f90a0d965 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -38,7 +38,7 @@ REQUIRES = [
|
||||
"attrs==19.3.0",
|
||||
"bcrypt==3.1.7",
|
||||
"certifi>=2019.11.28",
|
||||
- "importlib-metadata==1.5.0",
|
||||
+ "importlib-metadata>=1.3.0",
|
||||
"jinja2>=2.10.3",
|
||||
"PyJWT==1.7.1",
|
||||
# PyJWT has loose dependency. We want the latest one.
|
||||
@@ -46,7 +46,7 @@ REQUIRES = [
|
||||
"pip>=8.0.3",
|
||||
"python-slugify==4.0.0",
|
||||
"pytz>=2019.03",
|
||||
- "pyyaml==5.3",
|
||||
+ "pyyaml>=5.2",
|
||||
"requests==2.22.0",
|
||||
"ruamel.yaml==0.15.100",
|
||||
"voluptuous==0.11.7",
|
Loading…
Reference in a new issue