git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #91958 from mweinelt/hass

homeassistant: 0.111.4 -> 0.112.3

commit8a6825fbe4f9522e369e0ba277320d1e22bbf211 authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 7 Jul 2020, 09:56 (6 years ago) parent70b5f957e8b36e
10 files changed+146−88
nixos/tests/home-assistant.nix+17−4 pkgs/development/python-modules/graphql-core/default.nix+2−2 pkgs/development/python-modules/graphql-server-core/default.nix+13−3 pkgs/development/python-modules/influxdb-client/default.nix+53 pkgs/development/python-modules/rx/default.nix+5−4 pkgs/servers/home-assistant/0001-setup.py-relax-dependencies.patch+7−31 pkgs/servers/home-assistant/component-packages.nix+42−40 pkgs/servers/home-assistant/default.nix+2−2 pkgs/servers/home-assistant/frontend.nix+2−2 pkgs/top-level/python-packages.nix+3
nixos/tests/home-assistant.nix+17−4
@@ -2,6 +2,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
22
33let
44 configDir = "/var/lib/foobar";
5+ mqttUsername = "homeassistant";
56 mqttPassword = "secret";
67in {
78 name = "home-assistant";
@@ -11,6 +12,15 @@ in {
1112
1213 nodes.hass = { pkgs, ... }: {
1314 environment.systemPackages = with pkgs; [ mosquitto ];
15+ services.mosquitto = {
16+ enable = true;
17+ users = {
18+ "${mqttUsername}" = {
19+ acl = [ "pattern readwrite #" ];
20+ password = mqttPassword;
21+ };
22+ };
23+ };
1424 services.home-assistant = {
1525 inherit configDir;
1626 enable = true;
@@ -23,8 +33,11 @@ in {
2333 elevation = 0;
2434 };
2535 frontend = {};
26− # uses embedded mqtt broker
27− mqtt.password = mqttPassword;
36+ mqtt = {
37+ broker = "127.0.0.1";
38+ username = mqttUsername;
39+ password = mqttPassword;
40+ };
2841 binary_sensor = [{
2942 platform = "mqtt";
3043 state_topic = "home-assistant/test";
@@ -64,10 +77,10 @@ in {
6477 with subtest("Toggle a binary sensor using MQTT"):
6578 # wait for broker to become available
6679 hass.wait_until_succeeds(
67− "mosquitto_sub -V mqttv311 -t home-assistant/test -u homeassistant -P '${mqttPassword}' -W 1 -t '*'"
80+ "mosquitto_sub -V mqttv311 -t home-assistant/test -u ${mqttUsername} -P '${mqttPassword}' -W 1 -t '*'"
6881 )
6982 hass.succeed(
70− "mosquitto_pub -V mqttv311 -t home-assistant/test -u homeassistant -P '${mqttPassword}' -m let_there_be_light"
83+ "mosquitto_pub -V mqttv311 -t home-assistant/test -u ${mqttUsername} -P '${mqttPassword}' -m let_there_be_light"
7184 )
7285 with subtest("Print log to ease debugging"):
7386 output_log = hass.succeed("cat ${configDir}/home-assistant.log")
pkgs/development/python-modules/graphql-core/default.nix+2−2
@@ -13,13 +13,13 @@
1313
1414buildPythonPackage rec {
1515 pname = "graphql-core";
16− version = "2.3.1";
16+ version = "3.1.2";
1717
1818 src = fetchFromGitHub {
1919 owner = "graphql-python";
2020 repo = pname;
2121 rev = "v${version}";
22− sha256 = "029jnwy6zbj4x7f3ffpn1gyx0w9ala9cj2g115g6aa7im3xd2jma";
22+ sha256 = "0kvbj9dwpx8mjfj86kqx54dbz9k72ki147ssyj0ca2syvb8jm3wb";
2323 };
2424
2525 propagatedBuildInputs = [
pkgs/development/python-modules/graphql-server-core/default.nix+13−3
@@ -1,23 +1,33 @@
11{ buildPythonPackage
22, fetchFromGitHub
33, lib
4−
54, black
65, graphql-core
76, promise
7+, fetchpatch
8+, pythonOlder
89}:
910
1011buildPythonPackage rec {
1112 pname = "graphql-server-core";
12− version = "1.2.0";
13+ version = "2.0.0";
1314
1415 src = fetchFromGitHub {
1516 owner = "graphql-python";
1617 repo = pname;
1718 rev = "v${version}";
18− sha256 = "123q3xziv0s22h10v3f5slirf4b6nxj0hnmarwx9vws6x21bgrgh";
19+ sha256 = "1w3biv2za2m1brwjy0z049c2m94gm1zfwxzgc6lwrsci724jv9fr";
1920 };
2021
22+ disable = pythonOlder "3.6";
23+
24+ patches = [
25+ (fetchpatch {
26+ url = "https://github.com/graphql-python/graphql-server-core/commit/865ee9d5602f352c958f6f7e15adbe9abe216784.patch";
27+ sha256 = "03p44p4j8rys7mgamh2h9ibbnac2cqwvp5f5hrl2avj2hh0l6j46";
28+ })
29+ ];
30+
2131 propagatedBuildInputs = [
2232 graphql-core
2333 promise
pkgs/development/python-modules/influxdb-client/default.nixnew file+53
@@ -0,0 +1,53 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, rx
5+, certifi
6+, six
7+, python-dateutil
8+, setuptools
9+, urllib3
10+, ciso8601
11+, pytz
12+, pythonOlder
13+}:
14+
15+buildPythonPackage rec {
16+ pname = "influxdb-client";
17+ version = "1.8.0";
18+
19+ disabled = pythonOlder "3.6"; # requires python version >=3.6
20+
21+ src = fetchFromGitHub {
22+ owner = "influxdata";
23+ repo = "influxdb-client-python";
24+ rev = "v${version}";
25+ sha256 = "0gf0fjkd10yn1bb86rfapnd5diraivshn9mhzqxaxwlfah45q187";
26+ };
27+
28+ # makes test not reproducible
29+ postPatch = ''
30+ sed -i -e '/randomize/d' test-requirements.txt
31+ '';
32+
33+ propagatedBuildInputs = [
34+ rx
35+ certifi
36+ six
37+ python-dateutil
38+ setuptools
39+ urllib3
40+ ciso8601
41+ pytz
42+ ];
43+
44+ # requires influxdb server
45+ doCheck = false;
46+
47+ meta = with lib; {
48+ description = "InfluxDB 2.0 Python client library";
49+ homepage = "https://github.com/influxdata/influxdb-client-python";
50+ license = licenses.mit;
51+ maintainers = [ maintainers.mic92 ];
52+ };
53+}
pkgs/development/python-modules/rx/default.nix+5−4
@@ -1,15 +1,16 @@
1−{ lib, fetchFromGitHub, buildPythonPackage, nose }:
1+{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }:
22
33buildPythonPackage rec {
44 pname = "rx";
5− version = "1.6.1";
5+ version = "3.1.0";
6+ disabled = pythonOlder "3.6";
67
78 # There are no tests on the pypi source
89 src = fetchFromGitHub {
910 owner = "ReactiveX";
1011 repo = "rxpy";
11− rev = version;
12− sha256 = "14bca67a26clzcf2abz2yb8g9lfxffjs2l236dp966sp0lfbpsn5";
12+ rev = "v${version}";
13+ sha256 = "0rcwa8001il9p7s096b9gc5yld8cyxvrsmwh1gpc9b87j172z6ax";
1314 };
1415
1516 checkInputs = [ nose ];
pkgs/servers/home-assistant/0001-setup.py-relax-dependencies.patch+7−31
@@ -1,17 +1,8 @@
1−From 9d730514540929dc95a7313bdb385bab95d9a28c Mon Sep 17 00:00:00 2001
2−From: Martin Weinelt <hexa@darmstadt.ccc.de>
3−Date: Wed, 20 May 2020 23:23:23 +0200
4−Subject: [PATCH] setup.py: relax dependencies
5−
6−---
7− setup.py | 14 +++++++-------
8− 1 file changed, 7 insertions(+), 7 deletions(-)
9−
101diff --git a/setup.py b/setup.py
11−index 1473fd1f5f..149af58b3a 100755
2+index 4e46f63217..b1aafee59d 100755
123--- a/setup.py
134+++ b/setup.py
14−@@ -32,24 +32,24 @@ PROJECT_URLS = {
5+@@ -32,7 +32,7 @@ PROJECT_URLS = {
156 PACKAGES = find_packages(exclude=["tests", "tests.*"])
167
178 REQUIRES = [
@@ -20,29 +11,14 @@ index 1473fd1f5f..149af58b3a 100755
2011 "astral==1.10.1",
2112 "async_timeout==3.0.1",
2213 "attrs==19.3.0",
23− "bcrypt==3.1.7",
24− "certifi>=2020.4.5.1",
25− "ciso8601==2.1.3",
26−- "importlib-metadata==1.6.0",
27−+ "importlib-metadata>=1.5.0",
28− "jinja2>=2.11.1",
29− "PyJWT==1.7.1",
30− # PyJWT has loose dependency. We want the latest one.
31−- "cryptography==2.9.2",
32−+ "cryptography>=2.9",
33− "pip>=8.0.3",
14+@@ -48,8 +48,8 @@ REQUIRES = [
3415 "python-slugify==4.0.0",
35−- "pytz>=2020.1",
36−- "pyyaml==5.3.1",
37−- "requests==2.23.0",
16+ "pytz>=2020.1",
17+ "pyyaml==5.3.1",
18+- "requests==2.24.0",
3819- "ruamel.yaml==0.15.100",
39−+ "pytz>=2019.03",
40−+ "pyyaml>=5.2",
41−+ "requests>=2.22",
20++ "requests>=2.23.0",
4221+ "ruamel.yaml>=0.15.100",
4322 "voluptuous==0.11.7",
4423 "voluptuous-serialize==2.3.0",
4524 ]
46−--
47−2.26.2
48−
pkgs/servers/home-assistant/component-packages.nix+42−40
@@ -2,7 +2,7 @@
22# Do not edit!
33
44{
5− version = "0.111.4";
5+ version = "0.112.3";
66 components = {
77 "abode" = ps: with ps; [ ]; # missing inputs: abodepy
88 "acer_projector" = ps: with ps; [ pyserial];
@@ -17,9 +17,9 @@
1717 "airvisual" = ps: with ps; [ pyairvisual];
1818 "aladdin_connect" = ps: with ps; [ ]; # missing inputs: aladdin_connect
1919 "alarm_control_panel" = ps: with ps; [ ];
20− "alarmdecoder" = ps: with ps; [ alarmdecoder];
20+ "alarmdecoder" = ps: with ps; [ ]; # missing inputs: adext
2121 "alert" = ps: with ps; [ ];
22− "alexa" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
22+ "alexa" = ps: with ps; [ aiohttp-cors];
2323 "almond" = ps: with ps; [ aiohttp-cors]; # missing inputs: pyalmond
2424 "alpha_vantage" = ps: with ps; [ ]; # missing inputs: alpha_vantage
2525 "amazon_polly" = ps: with ps; [ boto3];
@@ -46,7 +46,7 @@
4646 "arlo" = ps: with ps; [ ha-ffmpeg]; # missing inputs: pyarlo
4747 "arris_tg2492lg" = ps: with ps; [ ]; # missing inputs: arris-tg2492lg
4848 "aruba" = ps: with ps; [ pexpect];
49− "arwn" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
49+ "arwn" = ps: with ps; [ aiohttp-cors paho-mqtt];
5050 "asterisk_cdr" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
5151 "asterisk_mbox" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
5252 "asuswrt" = ps: with ps; [ ]; # missing inputs: aioasuswrt
@@ -57,13 +57,13 @@
5757 "aurora" = ps: with ps; [ ];
5858 "aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
5959 "auth" = ps: with ps; [ aiohttp-cors];
60− "automation" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
60+ "automation" = ps: with ps; [ aiohttp-cors];
6161 "avea" = ps: with ps; [ ]; # missing inputs: avea
6262 "avion" = ps: with ps; [ ]; # missing inputs: avion
63− "avri" = ps: with ps; [ ]; # missing inputs: avri-api
63+ "avri" = ps: with ps; [ pycountry]; # missing inputs: avri-api
6464 "awair" = ps: with ps; [ ]; # missing inputs: python_awair
6565 "aws" = ps: with ps; [ ]; # missing inputs: aiobotocore
66− "axis" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt]; # missing inputs: axis
66+ "axis" = ps: with ps; [ aiohttp-cors paho-mqtt]; # missing inputs: axis
6767 "azure_event_hub" = ps: with ps; [ ]; # missing inputs: azure-eventhub
6868 "azure_service_bus" = ps: with ps; [ azure-servicebus];
6969 "baidu" = ps: with ps; [ ]; # missing inputs: baidu-aip
@@ -104,7 +104,7 @@
104104 "calendar" = ps: with ps; [ aiohttp-cors];
105105 "camera" = ps: with ps; [ aiohttp-cors];
106106 "canary" = ps: with ps; [ ha-ffmpeg]; # missing inputs: py-canary
107− "cast" = ps: with ps; [ aiohttp-cors hass-nabucasa PyChromecast sqlalchemy zeroconf]; # missing inputs: home-assistant-frontend
107+ "cast" = ps: with ps; [ aiohttp-cors hass-nabucasa PyChromecast zeroconf];
108108 "cert_expiry" = ps: with ps; [ ];
109109 "channels" = ps: with ps; [ ]; # missing inputs: pychannels
110110 "circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook
@@ -117,7 +117,7 @@
117117 "clicksend" = ps: with ps; [ ];
118118 "clicksend_tts" = ps: with ps; [ ];
119119 "climate" = ps: with ps; [ ];
120− "cloud" = ps: with ps; [ aiohttp-cors hass-nabucasa sqlalchemy]; # missing inputs: home-assistant-frontend
120+ "cloud" = ps: with ps; [ aiohttp-cors hass-nabucasa];
121121 "cloudflare" = ps: with ps; [ ]; # missing inputs: pycfdns
122122 "cmus" = ps: with ps; [ ]; # missing inputs: pycmus
123123 "co2signal" = ps: with ps; [ ]; # missing inputs: co2signal
@@ -144,18 +144,19 @@
144144 "darksky" = ps: with ps; [ python-forecastio];
145145 "datadog" = ps: with ps; [ datadog];
146146 "ddwrt" = ps: with ps; [ ];
147+ "debugpy" = ps: with ps; [ debugpy];
147148 "deconz" = ps: with ps; [ ]; # missing inputs: pydeconz
148149 "decora" = ps: with ps; [ bluepy]; # missing inputs: decora
149150 "decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
150− "default_config" = ps: with ps; [ pynacl aiohttp-cors defusedxml distro hass-nabucasa netdisco sqlalchemy zeroconf]; # missing inputs: home-assistant-frontend
151+ "default_config" = ps: with ps; [ pynacl aiohttp-cors defusedxml distro emoji hass-nabucasa netdisco sqlalchemy zeroconf]; # missing inputs: home-assistant-frontend
151152 "delijn" = ps: with ps; [ ]; # missing inputs: pydelijn
152153 "deluge" = ps: with ps; [ deluge-client];
153154 "demo" = ps: with ps; [ aiohttp-cors];
154155 "denon" = ps: with ps; [ ];
155− "denonavr" = ps: with ps; [ denonavr];
156+ "denonavr" = ps: with ps; [ denonavr getmac];
156157 "derivative" = ps: with ps; [ ];
157158 "deutsche_bahn" = ps: with ps; [ ]; # missing inputs: schiene
158− "device_automation" = ps: with ps; [ aiohttp-cors];
159+ "device_automation" = ps: with ps; [ ];
159160 "device_sun_light_trigger" = ps: with ps; [ ];
160161 "device_tracker" = ps: with ps; [ ];
161162 "devolo_home_control" = ps: with ps; [ ]; # missing inputs: devolo-home-control-api
@@ -178,7 +179,7 @@
178179 "dovado" = ps: with ps; [ ]; # missing inputs: dovado
179180 "downloader" = ps: with ps; [ ];
180181 "dsmr" = ps: with ps; [ ]; # missing inputs: dsmr_parser
181− "dsmr_reader" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
182+ "dsmr_reader" = ps: with ps; [ aiohttp-cors paho-mqtt];
182183 "dte_energy_bridge" = ps: with ps; [ ];
183184 "dublin_bus_transport" = ps: with ps; [ ];
184185 "duckdns" = ps: with ps; [ ];
@@ -258,7 +259,6 @@
258259 "folder_watcher" = ps: with ps; [ watchdog];
259260 "foobot" = ps: with ps; [ ]; # missing inputs: foobot_async
260261 "forked_daapd" = ps: with ps; [ ]; # missing inputs: pyforked-daapd pylibrespot-java
261− "fortigate" = ps: with ps; [ ]; # missing inputs: pyfgt
262262 "fortios" = ps: with ps; [ ]; # missing inputs: fortiosapi
263263 "foscam" = ps: with ps; [ ]; # missing inputs: libpyfoscam
264264 "foursquare" = ps: with ps; [ aiohttp-cors];
@@ -270,7 +270,7 @@
270270 "fritzbox_callmonitor" = ps: with ps; [ fritzconnection];
271271 "fritzbox_netmonitor" = ps: with ps; [ fritzconnection];
272272 "fronius" = ps: with ps; [ ]; # missing inputs: pyfronius
273− "frontend" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
273+ "frontend" = ps: with ps; [ aiohttp-cors]; # missing inputs: home-assistant-frontend
274274 "frontier_silicon" = ps: with ps; [ ]; # missing inputs: afsapi
275275 "futurenow" = ps: with ps; [ ]; # missing inputs: pyfnip
276276 "garadget" = ps: with ps; [ ];
@@ -320,7 +320,7 @@
320320 "hangouts" = ps: with ps; [ ]; # missing inputs: hangups
321321 "harman_kardon_avr" = ps: with ps; [ ]; # missing inputs: hkavr
322322 "harmony" = ps: with ps; [ aioharmony];
323− "hassio" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
323+ "hassio" = ps: with ps; [ aiohttp-cors]; # missing inputs: home-assistant-frontend
324324 "haveibeenpwned" = ps: with ps; [ ];
325325 "hddtemp" = ps: with ps; [ ];
326326 "hdmi_cec" = ps: with ps; [ ]; # missing inputs: pyCEC
@@ -337,7 +337,7 @@
337337 "hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
338338 "home_connect" = ps: with ps; [ aiohttp-cors]; # missing inputs: homeconnect
339339 "homeassistant" = ps: with ps; [ ];
340− "homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors ha-ffmpeg sqlalchemy zeroconf]; # missing inputs: PyTurboJPEG base36 fnvhash home-assistant-frontend
340+ "homekit" = ps: with ps; [ HAP-python pyqrcode aiohttp-cors ha-ffmpeg zeroconf]; # missing inputs: PyTurboJPEG base36 fnvhash
341341 "homekit_controller" = ps: with ps; [ ]; # missing inputs: aiohomekit[IP]
342342 "homematic" = ps: with ps; [ pyhomematic];
343343 "homematicip_cloud" = ps: with ps; [ ]; # missing inputs: homematicip
@@ -351,7 +351,9 @@
351351 "huawei_lte" = ps: with ps; [ getmac stringcase]; # missing inputs: huawei-lte-api url-normalize
352352 "huawei_router" = ps: with ps; [ ];
353353 "hue" = ps: with ps; [ aiohue];
354+ "humidifier" = ps: with ps; [ ];
354355 "hunterdouglas_powerview" = ps: with ps; [ ]; # missing inputs: aiopvapi
356+ "hvv_departures" = ps: with ps; [ ]; # missing inputs: pygti
355357 "hydrawise" = ps: with ps; [ ]; # missing inputs: hydrawiser
356358 "hyperion" = ps: with ps; [ ];
357359 "ialarm" = ps: with ps; [ ]; # missing inputs: pyialarm
@@ -367,7 +369,7 @@
367369 "imap" = ps: with ps; [ ]; # missing inputs: aioimaplib
368370 "imap_email_content" = ps: with ps; [ ];
369371 "incomfort" = ps: with ps; [ ]; # missing inputs: incomfort-client
370− "influxdb" = ps: with ps; [ influxdb];
372+ "influxdb" = ps: with ps; [ influxdb-client influxdb];
371373 "input_boolean" = ps: with ps; [ ];
372374 "input_datetime" = ps: with ps; [ ];
373375 "input_number" = ps: with ps; [ ];
@@ -433,7 +435,6 @@
433435 "local_ip" = ps: with ps; [ ];
434436 "locative" = ps: with ps; [ aiohttp-cors];
435437 "lock" = ps: with ps; [ ];
436− "lockitron" = ps: with ps; [ ];
437438 "logbook" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
438439 "logentries" = ps: with ps; [ ];
439440 "logger" = ps: with ps; [ ];
@@ -453,8 +454,8 @@
453454 "mailbox" = ps: with ps; [ aiohttp-cors];
454455 "mailgun" = ps: with ps; [ aiohttp-cors]; # missing inputs: pymailgunner
455456 "manual" = ps: with ps; [ ];
456− "manual_mqtt" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
457− "map" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
457+ "manual_mqtt" = ps: with ps; [ aiohttp-cors paho-mqtt];
458+ "map" = ps: with ps; [ aiohttp-cors]; # missing inputs: home-assistant-frontend
458459 "marytts" = ps: with ps; [ ]; # missing inputs: speak2mary
459460 "mastodon" = ps: with ps; [ ]; # missing inputs: Mastodon.py
460461 "matrix" = ps: with ps; [ matrix-client];
@@ -485,7 +486,7 @@
485486 "minio" = ps: with ps; [ minio];
486487 "mitemp_bt" = ps: with ps; [ ]; # missing inputs: mitemp_bt
487488 "mjpeg" = ps: with ps; [ ];
488− "mobile_app" = ps: with ps; [ pynacl aiohttp-cors hass-nabucasa sqlalchemy]; # missing inputs: home-assistant-frontend
489+ "mobile_app" = ps: with ps; [ pynacl aiohttp-cors emoji hass-nabucasa];
489490 "mochad" = ps: with ps; [ ]; # missing inputs: pymochad
490491 "modbus" = ps: with ps; [ ]; # missing inputs: pymodbus
491492 "modem_callerid" = ps: with ps; [ ]; # missing inputs: basicmodem
@@ -494,17 +495,17 @@
494495 "moon" = ps: with ps; [ ];
495496 "mpchc" = ps: with ps; [ ];
496497 "mpd" = ps: with ps; [ mpd2];
497− "mqtt" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
498− "mqtt_eventstream" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
499− "mqtt_json" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
500− "mqtt_room" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
501− "mqtt_statestream" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
498+ "mqtt" = ps: with ps; [ aiohttp-cors paho-mqtt];
499+ "mqtt_eventstream" = ps: with ps; [ aiohttp-cors paho-mqtt];
500+ "mqtt_json" = ps: with ps; [ aiohttp-cors paho-mqtt];
501+ "mqtt_room" = ps: with ps; [ aiohttp-cors paho-mqtt];
502+ "mqtt_statestream" = ps: with ps; [ aiohttp-cors paho-mqtt];
502503 "msteams" = ps: with ps; [ ]; # missing inputs: pymsteams
503504 "mvglive" = ps: with ps; [ PyMVGLive];
504505 "mychevy" = ps: with ps; [ ]; # missing inputs: mychevy
505506 "mycroft" = ps: with ps; [ ]; # missing inputs: mycroftapi
506507 "myq" = ps: with ps; [ ]; # missing inputs: pymyq
507− "mysensors" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt]; # missing inputs: pymysensors
508+ "mysensors" = ps: with ps; [ aiohttp-cors paho-mqtt]; # missing inputs: pymysensors
508509 "mystrom" = ps: with ps; [ aiohttp-cors]; # missing inputs: python-mystrom
509510 "mythicbeastsdns" = ps: with ps; [ ]; # missing inputs: mbddns
510511 "n26" = ps: with ps; [ ]; # missing inputs: n26
@@ -516,7 +517,7 @@
516517 "nello" = ps: with ps; [ ]; # missing inputs: pynello
517518 "ness_alarm" = ps: with ps; [ ]; # missing inputs: nessclient
518519 "nest" = ps: with ps; [ ]; # missing inputs: python-nest
519− "netatmo" = ps: with ps; [ aiohttp-cors hass-nabucasa pyatmo sqlalchemy]; # missing inputs: home-assistant-frontend
520+ "netatmo" = ps: with ps; [ aiohttp-cors hass-nabucasa pyatmo];
520521 "netdata" = ps: with ps; [ ]; # missing inputs: netdata
521522 "netgear" = ps: with ps; [ ]; # missing inputs: pynetgear
522523 "netgear_lte" = ps: with ps; [ ]; # missing inputs: eternalegypt
@@ -535,6 +536,7 @@
535536 "noaa_tides" = ps: with ps; [ ]; # missing inputs: py_noaa
536537 "norway_air" = ps: with ps; [ pymetno];
537538 "notify" = ps: with ps; [ ];
539+ "notify_events" = ps: with ps; [ ]; # missing inputs: notify-events
538540 "notion" = ps: with ps; [ ]; # missing inputs: aionotion
539541 "nsw_fuel_station" = ps: with ps; [ ]; # missing inputs: nsw-fuel-api-client
540542 "nsw_rural_fire_service_feed" = ps: with ps; [ ]; # missing inputs: aio_geojson_nsw_rfs_incidents
@@ -577,13 +579,13 @@
577579 "orvibo" = ps: with ps; [ ]; # missing inputs: orvibo
578580 "osramlightify" = ps: with ps; [ ]; # missing inputs: lightify
579581 "otp" = ps: with ps; [ pyotp];
580− "owntracks" = ps: with ps; [ pynacl aiohttp-cors hass-nabucasa hbmqtt paho-mqtt sqlalchemy]; # missing inputs: home-assistant-frontend
581− "ozw" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt]; # missing inputs: python-openzwave-mqtt
582+ "owntracks" = ps: with ps; [ pynacl aiohttp-cors hass-nabucasa paho-mqtt];
583+ "ozw" = ps: with ps; [ aiohttp-cors paho-mqtt]; # missing inputs: python-openzwave-mqtt
582584 "panasonic_bluray" = ps: with ps; [ ]; # missing inputs: panacotta
583585 "panasonic_viera" = ps: with ps; [ ]; # missing inputs: panasonic_viera
584586 "pandora" = ps: with ps; [ pexpect];
585− "panel_custom" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
586− "panel_iframe" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
587+ "panel_custom" = ps: with ps; [ aiohttp-cors]; # missing inputs: home-assistant-frontend
588+ "panel_iframe" = ps: with ps; [ aiohttp-cors]; # missing inputs: home-assistant-frontend
587589 "pcal9535a" = ps: with ps; [ ]; # missing inputs: pcal9535a
588590 "pencom" = ps: with ps; [ ]; # missing inputs: pencompy
589591 "persistent_notification" = ps: with ps; [ ];
@@ -630,7 +632,7 @@
630632 "quantum_gateway" = ps: with ps; [ ]; # missing inputs: quantum-gateway
631633 "qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro
632634 "qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch
633− "rachio" = ps: with ps; [ aiohttp-cors hass-nabucasa sqlalchemy]; # missing inputs: home-assistant-frontend rachiopy
635+ "rachio" = ps: with ps; [ aiohttp-cors hass-nabucasa]; # missing inputs: rachiopy
634636 "radarr" = ps: with ps; [ ];
635637 "radiotherm" = ps: with ps; [ ]; # missing inputs: radiotherm
636638 "rainbird" = ps: with ps; [ ]; # missing inputs: pyrainbird
@@ -671,7 +673,7 @@
671673 "russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio
672674 "russound_rnet" = ps: with ps; [ ]; # missing inputs: russound
673675 "sabnzbd" = ps: with ps; [ aiohttp-cors netdisco zeroconf]; # missing inputs: pysabnzbd
674− "safe_mode" = ps: with ps; [ aiohttp-cors hass-nabucasa sqlalchemy]; # missing inputs: home-assistant-frontend
676+ "safe_mode" = ps: with ps; [ aiohttp-cors hass-nabucasa]; # missing inputs: home-assistant-frontend
675677 "saj" = ps: with ps; [ ]; # missing inputs: pysaj
676678 "salt" = ps: with ps; [ ]; # missing inputs: saltbox
677679 "samsungtv" = ps: with ps; [ ]; # missing inputs: samsungctl[websocket] samsungtvws[websocket]
@@ -681,7 +683,7 @@
681683 "scrape" = ps: with ps; [ beautifulsoup4 jsonpath xmltodict];
682684 "script" = ps: with ps; [ ];
683685 "scsgate" = ps: with ps; [ ]; # missing inputs: scsgate
684− "search" = ps: with ps; [ aiohttp-cors sqlalchemy]; # missing inputs: home-assistant-frontend
686+ "search" = ps: with ps; [ aiohttp-cors];
685687 "season" = ps: with ps; [ ephem];
686688 "sendgrid" = ps: with ps; [ ]; # missing inputs: sendgrid
687689 "sense" = ps: with ps; [ ]; # missing inputs: sense_energy
@@ -714,15 +716,15 @@
714716 "sleepiq" = ps: with ps; [ ]; # missing inputs: sleepyq
715717 "slide" = ps: with ps; [ ]; # missing inputs: goslide-api
716718 "sma" = ps: with ps; [ ]; # missing inputs: pysma
717− "smappee" = ps: with ps; [ ]; # missing inputs: smappy
719+ "smappee" = ps: with ps; [ aiohttp-cors]; # missing inputs: pysmappee
718720 "smarthab" = ps: with ps; [ ]; # missing inputs: smarthab
719− "smartthings" = ps: with ps; [ aiohttp-cors hass-nabucasa sqlalchemy]; # missing inputs: home-assistant-frontend pysmartapp pysmartthings
721+ "smartthings" = ps: with ps; [ aiohttp-cors hass-nabucasa]; # missing inputs: pysmartapp pysmartthings
720722 "smarty" = ps: with ps; [ ]; # missing inputs: pysmarty
721723 "smhi" = ps: with ps; [ ]; # missing inputs: smhi-pkg
722724 "sms" = ps: with ps; [ ]; # missing inputs: python-gammu
723725 "smtp" = ps: with ps; [ ];
724726 "snapcast" = ps: with ps; [ snapcast];
725− "snips" = ps: with ps; [ aiohttp-cors hbmqtt paho-mqtt];
727+ "snips" = ps: with ps; [ aiohttp-cors paho-mqtt];
726728 "snmp" = ps: with ps; [ pysnmp];
727729 "sochain" = ps: with ps; [ ]; # missing inputs: python-sochain-api
728730 "socialblade" = ps: with ps; [ ]; # missing inputs: socialbladeclient
@@ -815,7 +817,7 @@
815817 "todoist" = ps: with ps; [ todoist];
816818 "tof" = ps: with ps; [ ]; # missing inputs: RPi.GPIO VL53L1X2
817819 "tomato" = ps: with ps; [ ];
818− "toon" = ps: with ps; [ ]; # missing inputs: toonapilib
820+ "toon" = ps: with ps; [ aiohttp-cors hass-nabucasa]; # missing inputs: toonapi
819821 "torque" = ps: with ps; [ aiohttp-cors];
820822 "totalconnect" = ps: with ps; [ ]; # missing inputs: total_connect_client
821823 "touchline" = ps: with ps; [ ]; # missing inputs: pytouchline
pkgs/servers/home-assistant/default.nix+2−2
@@ -72,7 +72,7 @@ let
7272 extraBuildInputs = extraPackages py.pkgs;
7373
7474 # Don't forget to run parse-requirements.py after updating
75− hassVersion = "0.111.4";
75+ hassVersion = "0.112.3";
7676
7777in with py.pkgs; buildPythonApplication rec {
7878 pname = "homeassistant";
@@ -91,7 +91,7 @@ in with py.pkgs; buildPythonApplication rec {
9191 owner = "home-assistant";
9292 repo = "core";
9393 rev = version;
94− sha256 = "08dkqczpmdaz8k9fsshgvgma7i7sffzgmhsi49qki7vwn20hl2hf";
94+ sha256 = "1azfbjnyaamdnl2f3cllh6pd3kinl1wjqb4hlb569gb8zqs5bsx2";
9595 };
9696
9797 propagatedBuildInputs = [
pkgs/servers/home-assistant/frontend.nix+2−2
@@ -4,11 +4,11 @@ buildPythonPackage rec {
44 # the frontend version corresponding to a specific home-assistant version can be found here
55 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
66 pname = "home-assistant-frontend";
7− version = "20200603.3";
7+ version = "20200702.1";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "12bbvqckry6yr7409dir49pjcaa31z74fy6vb0mgr9xzvri5c2s8";
11+ sha256 = "0ikzqwwm4m15x2m5byy7r005cfdxk7ajfyz9ljv4nsa3y3g2riw4";
1212 };
1313
1414 # no Python tests implemented
pkgs/top-level/python-packages.nix+3
@@ -695,6 +695,9 @@ in {
695695
696696 parver = callPackage ../development/python-modules/parver { };
697697 arpeggio = callPackage ../development/python-modules/arpeggio { };
698+
699+ influxdb-client = callPackage ../development/python-modules/influxdb-client { };
700+
698701 invoke = callPackage ../development/python-modules/invoke { };
699702
700703 distorm3 = callPackage ../development/python-modules/distorm3 { };