aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-10-19 08:00:54 +0800
committerGitHub <noreply@github.com>2018-10-19 08:00:54 +0800
commit8e7dda36a4dfadd1d55e41e7195840229da303bd (patch)
tree4f1dca0182c2a495c73a9876941127b7f8d04044 /pkgs
parentff17dd2e11b2862b1a1a9cd4d086e9e0cd0c865f (diff)
parent0b6180aa893e60bf536b32ad3e32fea84e65e1ed (diff)
Merge pull request #48630 from dotlambda/home-assistant-0.80.1
home-assistant: 0.77.3 -> 0.80.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/paho-mqtt/default.nix29
-rw-r--r--pkgs/development/python-modules/voluptuous-serialize/default.nix16
-rw-r--r--pkgs/servers/home-assistant/component-packages.nix83
-rw-r--r--pkgs/servers/home-assistant/default.nix24
-rw-r--r--pkgs/servers/home-assistant/frontend.nix4
-rw-r--r--pkgs/top-level/python-packages.nix19
6 files changed, 126 insertions, 49 deletions
diff --git a/pkgs/development/python-modules/paho-mqtt/default.nix b/pkgs/development/python-modules/paho-mqtt/default.nix
new file mode 100644
index 00000000000..d58b31ffc04
--- /dev/null
+++ b/pkgs/development/python-modules/paho-mqtt/default.nix
@@ -0,0 +1,29 @@
+{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
+, pytestrunner, pytest, mock }:
+
+buildPythonPackage rec {
+ pname = "paho-mqtt";
+ version = "1.4.0";
+
+ # No tests in PyPI tarball
+ src = fetchFromGitHub {
+ owner = "eclipse";
+ repo = "paho.mqtt.python";
+ rev = "v${version}";
+ sha256 = "1xg9ppz2lqacd9prsrx93q2wfkjjyla03xlfw74aj1alz9ki5hrs";
+ };
+
+ postPatch = ''
+ substituteInPlace setup.py --replace "pylama" ""
+ substituteInPlace setup.cfg --replace "--pylama" ""
+ '';
+
+ checkInputs = [ pytestrunner pytest ] ++ lib.optional (!isPy3k) mock;
+
+ meta = with lib; {
+ homepage = https://eclipse.org/paho;
+ description = "MQTT version 3.1.1 client class";
+ license = licenses.epl10;
+ maintainers = with maintainers; [ mog dotlambda ];
+ };
+}
diff --git a/pkgs/development/python-modules/voluptuous-serialize/default.nix b/pkgs/development/python-modules/voluptuous-serialize/default.nix
index e2796ee2a74..05d372ec47d 100644
--- a/pkgs/development/python-modules/voluptuous-serialize/default.nix
+++ b/pkgs/development/python-modules/voluptuous-serialize/default.nix
@@ -1,17 +1,14 @@
-{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, voluptuous, pytest }:
+{ stdenv, buildPythonPackage, isPy3k, fetchPypi, voluptuous, pytest }:
buildPythonPackage rec {
pname = "voluptuous-serialize";
- version = "2018-03-10";
+ version = "2.0.0";
disabled = !isPy3k;
- # no tests in PyPI tarball
- src = fetchFromGitHub {
- owner = "balloob";
- repo = pname;
- rev = "567f0d96f928cf6c30c9f1b8bdee729e651aac82";
- sha256 = "0b16f1bxlqyvi1hy8wmzp2k0rzqcycmdhs8zwsyx0swnvkgwnv50";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "44be04d87aec34bd7d31ab539341fadc505205f2299031ed9be985112c21aa41";
};
propagatedBuildInputs = [
@@ -26,6 +23,9 @@ buildPythonPackage rec {
py.test
'';
+ # no tests in PyPI tarball
+ doCheck = false;
+
meta = with stdenv.lib; {
homepage = https://github.com/balloob/voluptuous-serialize;
license = licenses.asl20;
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix
index c1b35946d68..f1ee1eda95d 100644
--- a/pkgs/servers/home-assistant/component-packages.nix
+++ b/pkgs/servers/home-assistant/component-packages.nix
@@ -2,7 +2,7 @@
# Do not edit!
{
- version = "0.77.3";
+ version = "0.80.3";
components = {
"abode" = ps: with ps; [ ];
"ads" = ps: with ps; [ ];
@@ -11,6 +11,7 @@
"alarm_control_panel.alarmdecoder" = ps: with ps; [ ];
"alarm_control_panel.alarmdotcom" = ps: with ps; [ ];
"alarm_control_panel.arlo" = ps: with ps; [ ];
+ "alarm_control_panel.blink" = ps: with ps; [ ];
"alarm_control_panel.canary" = ps: with ps; [ ];
"alarm_control_panel.concord232" = ps: with ps; [ ];
"alarm_control_panel.demo" = ps: with ps; [ ];
@@ -18,7 +19,7 @@
"alarm_control_panel.envisalink" = ps: with ps; [ ];
"alarm_control_panel.homematicip_cloud" = ps: with ps; [ ];
"alarm_control_panel.ialarm" = ps: with ps; [ ];
- "alarm_control_panel.ifttt" = ps: with ps; [ ];
+ "alarm_control_panel.ifttt" = ps: with ps; [ aiohttp-cors ];
"alarm_control_panel.manual" = ps: with ps; [ ];
"alarm_control_panel.manual_mqtt" = ps: with ps; [ paho-mqtt ];
"alarm_control_panel.mqtt" = ps: with ps; [ paho-mqtt ];
@@ -29,6 +30,7 @@
"alarm_control_panel.totalconnect" = ps: with ps; [ ];
"alarm_control_panel.verisure" = ps: with ps; [ ];
"alarm_control_panel.wink" = ps: with ps; [ ];
+ "alarm_control_panel.yale_smart_alarm" = ps: with ps; [ ];
"alarmdecoder" = ps: with ps; [ ];
"alert" = ps: with ps; [ ];
"alexa" = ps: with ps; [ aiohttp-cors ];
@@ -41,6 +43,7 @@
"apcupsd" = ps: with ps; [ ];
"api" = ps: with ps; [ aiohttp-cors ];
"apple_tv" = ps: with ps; [ ];
+ "aqualogic" = ps: with ps; [ ];
"arduino" = ps: with ps; [ ];
"arlo" = ps: with ps; [ ];
"asterisk_mbox" = ps: with ps; [ ];
@@ -59,6 +62,7 @@
"automation.sun" = ps: with ps; [ ];
"automation.template" = ps: with ps; [ ];
"automation.time" = ps: with ps; [ ];
+ "automation.webhook" = ps: with ps; [ aiohttp-cors ];
"automation.zone" = ps: with ps; [ ];
"axis" = ps: with ps; [ ];
"bbb_gpio" = ps: with ps; [ ];
@@ -90,6 +94,7 @@
"binary_sensor.ffmpeg_motion" = ps: with ps; [ ha-ffmpeg ];
"binary_sensor.ffmpeg_noise" = ps: with ps; [ ha-ffmpeg ];
"binary_sensor.flic" = ps: with ps; [ ];
+ "binary_sensor.fritzbox" = ps: with ps; [ ];
"binary_sensor.gc100" = ps: with ps; [ ];
"binary_sensor.hikvision" = ps: with ps; [ ];
"binary_sensor.hive" = ps: with ps; [ ];
@@ -179,6 +184,7 @@
"camera.foscam" = ps: with ps; [ ];
"camera.generic" = ps: with ps; [ ];
"camera.local_file" = ps: with ps; [ ];
+ "camera.logi_circle" = ps: with ps; [ ];
"camera.mjpeg" = ps: with ps; [ ];
"camera.mqtt" = ps: with ps; [ paho-mqtt ];
"camera.neato" = ps: with ps; [ ];
@@ -207,6 +213,7 @@
"climate.econet" = ps: with ps; [ ];
"climate.ephember" = ps: with ps; [ ];
"climate.eq3btsmart" = ps: with ps; [ construct ];
+ "climate.evohome" = ps: with ps; [ ];
"climate.flexit" = ps: with ps; [ ];
"climate.fritzbox" = ps: with ps; [ ];
"climate.generic_thermostat" = ps: with ps; [ ];
@@ -226,6 +233,7 @@
"climate.netatmo" = ps: with ps; [ ];
"climate.nuheat" = ps: with ps; [ ];
"climate.oem" = ps: with ps; [ ];
+ "climate.opentherm_gw" = ps: with ps; [ ];
"climate.proliphix" = ps: with ps; [ ];
"climate.radiotherm" = ps: with ps; [ ];
"climate.sensibo" = ps: with ps; [ ];
@@ -251,9 +259,10 @@
"config" = ps: with ps; [ aiohttp-cors ];
"config.auth" = ps: with ps; [ ];
"config.automation" = ps: with ps; [ ];
- "config.config_entries" = ps: with ps; [ voluptuous-serialize ];
+ "config.config_entries" = ps: with ps; [ ];
"config.core" = ps: with ps; [ ];
"config.customize" = ps: with ps; [ ];
+ "config.device_registry" = ps: with ps; [ aiohttp-cors ];
"config.entity_registry" = ps: with ps; [ aiohttp-cors ];
"config.group" = ps: with ps; [ ];
"config.hassbian" = ps: with ps; [ ];
@@ -268,11 +277,13 @@
"cover.aladdin_connect" = ps: with ps; [ ];
"cover.brunt" = ps: with ps; [ ];
"cover.command_line" = ps: with ps; [ ];
+ "cover.deconz" = ps: with ps; [ ];
"cover.demo" = ps: with ps; [ ];
"cover.garadget" = ps: with ps; [ ];
"cover.gogogate2" = ps: with ps; [ ];
"cover.group" = ps: with ps; [ ];
"cover.homematic" = ps: with ps; [ pyhomematic ];
+ "cover.insteon" = ps: with ps; [ ];
"cover.isy994" = ps: with ps; [ ];
"cover.knx" = ps: with ps; [ ];
"cover.lutron" = ps: with ps; [ ];
@@ -322,6 +333,7 @@
"device_tracker.google_maps" = ps: with ps; [ ];
"device_tracker.gpslogger" = ps: with ps; [ aiohttp-cors ];
"device_tracker.hitron_coda" = ps: with ps; [ ];
+ "device_tracker.huawei_lte" = ps: with ps; [ ];
"device_tracker.huawei_router" = ps: with ps; [ ];
"device_tracker.icloud" = ps: with ps; [ ];
"device_tracker.keenetic_ndms2" = ps: with ps; [ ];
@@ -368,6 +380,7 @@
"dyson" = ps: with ps; [ ];
"ecobee" = ps: with ps; [ ];
"ecovacs" = ps: with ps; [ ];
+ "edp_redy" = ps: with ps; [ ];
"egardia" = ps: with ps; [ ];
"eight_sleep" = ps: with ps; [ ];
"emoncms_history" = ps: with ps; [ ];
@@ -377,6 +390,7 @@
"enocean" = ps: with ps; [ ];
"envisalink" = ps: with ps; [ ];
"eufy" = ps: with ps; [ ];
+ "evohome" = ps: with ps; [ ];
"fan" = ps: with ps; [ ];
"fan.comfoconnect" = ps: with ps; [ ];
"fan.demo" = ps: with ps; [ ];
@@ -398,10 +412,12 @@
"fritzbox" = ps: with ps; [ ];
"frontend" = ps: with ps; [ aiohttp-cors ];
"gc100" = ps: with ps; [ ];
+ "geo_location" = ps: with ps; [ ];
+ "geo_location.demo" = ps: with ps; [ ];
+ "geo_location.geo_json_events" = ps: with ps; [ ];
"goalfeed" = ps: with ps; [ ];
"google" = ps: with ps; [ google_api_python_client httplib2 oauth2client ];
"google_assistant" = ps: with ps; [ aiohttp-cors ];
- "google_assistant.auth" = ps: with ps; [ ];
"google_assistant.const" = ps: with ps; [ ];
"google_assistant.helpers" = ps: with ps; [ ];
"google_assistant.http" = ps: with ps; [ ];
@@ -410,11 +426,16 @@
"google_domains" = ps: with ps; [ ];
"graphite" = ps: with ps; [ ];
"group" = ps: with ps; [ ];
+ "habitica" = ps: with ps; [ ];
"hangouts" = ps: with ps; [ ];
"hangouts.config_flow" = ps: with ps; [ ];
"hangouts.const" = ps: with ps; [ ];
"hangouts.hangouts_bot" = ps: with ps; [ ];
+ "hangouts.intents" = ps: with ps; [ ];
"hassio" = ps: with ps; [ aiohttp-cors ];
+ "hassio.auth" = ps: with ps; [ ];
+ "hassio.const" = ps: with ps; [ ];
+ "hassio.discovery" = ps: with ps; [ ];
"hassio.handler" = ps: with ps; [ ];
"hassio.http" = ps: with ps; [ ];
"hdmi_cec" = ps: with ps; [ ];
@@ -441,13 +462,14 @@
"http.real_ip" = ps: with ps; [ ];
"http.static" = ps: with ps; [ ];
"http.view" = ps: with ps; [ ];
+ "huawei_lte" = ps: with ps; [ ];
"hue" = ps: with ps; [ aiohue ];
"hue.bridge" = ps: with ps; [ ];
"hue.config_flow" = ps: with ps; [ ];
"hue.const" = ps: with ps; [ ];
"hue.errors" = ps: with ps; [ ];
"hydrawise" = ps: with ps; [ ];
- "ifttt" = ps: with ps; [ ];
+ "ifttt" = ps: with ps; [ aiohttp-cors ];
"ihc" = ps: with ps; [ ];
"ihc.const" = ps: with ps; [ ];
"ihc.ihcdevice" = ps: with ps; [ ];
@@ -525,6 +547,7 @@
"light.mysensors" = ps: with ps; [ ];
"light.mystrom" = ps: with ps; [ ];
"light.nanoleaf_aurora" = ps: with ps; [ ];
+ "light.opple" = ps: with ps; [ ];
"light.osramlightify" = ps: with ps; [ ];
"light.piglow" = ps: with ps; [ ];
"light.qwikswitch" = ps: with ps; [ ];
@@ -580,9 +603,12 @@
"logbook" = ps: with ps; [ aiohttp-cors sqlalchemy ];
"logentries" = ps: with ps; [ ];
"logger" = ps: with ps; [ ];
+ "logi_circle" = ps: with ps; [ ];
+ "lovelace" = ps: with ps; [ ];
"lutron" = ps: with ps; [ ];
"lutron_caseta" = ps: with ps; [ ];
"mailbox" = ps: with ps; [ aiohttp-cors ];
+ "mailbox.asterisk_cdr" = ps: with ps; [ ];
"mailbox.asterisk_mbox" = ps: with ps; [ ];
"mailbox.demo" = ps: with ps; [ ];
"mailgun" = ps: with ps; [ aiohttp-cors ];
@@ -640,7 +666,7 @@
"media_player.sisyphus" = ps: with ps; [ ];
"media_player.snapcast" = ps: with ps; [ ];
"media_player.songpal" = ps: with ps; [ ];
- "media_player.sonos" = ps: with ps; [ soco ];
+ "media_player.sonos" = ps: with ps; [ ];
"media_player.soundtouch" = ps: with ps; [ libsoundtouch ];
"media_player.spotify" = ps: with ps; [ aiohttp-cors ];
"media_player.squeezebox" = ps: with ps; [ ];
@@ -659,6 +685,8 @@
"mochad" = ps: with ps; [ ];
"modbus" = ps: with ps; [ ];
"mqtt" = ps: with ps; [ paho-mqtt ];
+ "mqtt.config_flow" = ps: with ps; [ ];
+ "mqtt.const" = ps: with ps; [ ];
"mqtt.discovery" = ps: with ps; [ ];
"mqtt.server" = ps: with ps; [ aiohttp-cors hbmqtt ];
"mqtt_eventstream" = ps: with ps; [ paho-mqtt ];
@@ -731,6 +759,7 @@
"notify.synology_chat" = ps: with ps; [ ];
"notify.syslog" = ps: with ps; [ ];
"notify.telegram" = ps: with ps; [ python-telegram-bot ];
+ "notify.tibber" = ps: with ps; [ ];
"notify.twilio_call" = ps: with ps; [ aiohttp-cors twilio ];
"notify.twilio_sms" = ps: with ps; [ aiohttp-cors twilio ];
"notify.twitter" = ps: with ps; [ ];
@@ -744,6 +773,8 @@
"onboarding.const" = ps: with ps; [ ];
"onboarding.views" = ps: with ps; [ ];
"openuv" = ps: with ps; [ ];
+ "openuv.config_flow" = ps: with ps; [ ];
+ "openuv.const" = ps: with ps; [ ];
"panel_custom" = ps: with ps; [ aiohttp-cors ];
"panel_iframe" = ps: with ps; [ aiohttp-cors ];
"persistent_notification" = ps: with ps; [ ];
@@ -805,6 +836,7 @@
"sensor.android_ip_webcam" = ps: with ps; [ ];
"sensor.apcupsd" = ps: with ps; [ ];
"sensor.api_streams" = ps: with ps; [ ];
+ "sensor.aqualogic" = ps: with ps; [ ];
"sensor.arduino" = ps: with ps; [ ];
"sensor.arest" = ps: with ps; [ ];
"sensor.arlo" = ps: with ps; [ ];
@@ -853,6 +885,7 @@
"sensor.ebox" = ps: with ps; [ ];
"sensor.ecobee" = ps: with ps; [ ];
"sensor.eddystone_temperature" = ps: with ps; [ construct ];
+ "sensor.edp_redy" = ps: with ps; [ ];
"sensor.efergy" = ps: with ps; [ ];
"sensor.eight_sleep" = ps: with ps; [ ];
"sensor.eliqonline" = ps: with ps; [ ];
@@ -877,14 +910,16 @@
"sensor.fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];
"sensor.fritzbox_netmonitor" = ps: with ps; [ fritzconnection ];
"sensor.gearbest" = ps: with ps; [ ];
- "sensor.geizhals" = ps: with ps; [ beautifulsoup4 ];
- "sensor.geo_rss_events" = ps: with ps; [ feedparser ];
+ "sensor.geizhals" = ps: with ps; [ ];
+ "sensor.geo_rss_events" = ps: with ps; [ ];
+ "sensor.gitlab_ci" = ps: with ps; [ ];
"sensor.gitter" = ps: with ps; [ ];
"sensor.glances" = ps: with ps; [ ];
"sensor.google_travel_time" = ps: with ps; [ ];
"sensor.google_wifi" = ps: with ps; [ ];
"sensor.gpsd" = ps: with ps; [ ];
"sensor.gtfs" = ps: with ps; [ ];
+ "sensor.habitica" = ps: with ps; [ ];
"sensor.haveibeenpwned" = ps: with ps; [ ];
"sensor.hddtemp" = ps: with ps; [ ];
"sensor.history_stats" = ps: with ps; [ aiohttp-cors sqlalchemy ];
@@ -893,6 +928,7 @@
"sensor.homematicip_cloud" = ps: with ps; [ ];
"sensor.hp_ilo" = ps: with ps; [ ];
"sensor.htu21d" = ps: with ps; [ ];
+ "sensor.huawei_lte" = ps: with ps; [ ];
"sensor.hydrawise" = ps: with ps; [ ];
"sensor.hydroquebec" = ps: with ps; [ ];
"sensor.ihc" = ps: with ps; [ ];
@@ -905,13 +941,16 @@
"sensor.iperf3" = ps: with ps; [ ];
"sensor.irish_rail_transport" = ps: with ps; [ ];
"sensor.isy994" = ps: with ps; [ ];
+ "sensor.jewish_calendar" = ps: with ps; [ ];
"sensor.juicenet" = ps: with ps; [ ];
"sensor.kira" = ps: with ps; [ ];
"sensor.knx" = ps: with ps; [ ];
"sensor.kwb" = ps: with ps; [ ];
"sensor.lacrosse" = ps: with ps; [ ];
"sensor.lastfm" = ps: with ps; [ pylast ];
+ "sensor.linky" = ps: with ps; [ ];
"sensor.linux_battery" = ps: with ps; [ batinfo ];
+ "sensor.logi_circle" = ps: with ps; [ ];
"sensor.london_air" = ps: with ps; [ ];
"sensor.london_underground" = ps: with ps; [ ];
"sensor.loopenergy" = ps: with ps; [ ];
@@ -1001,6 +1040,7 @@
"sensor.speedtest" = ps: with ps; [ speedtest-cli ];
"sensor.spotcrime" = ps: with ps; [ ];
"sensor.sql" = ps: with ps; [ sqlalchemy ];
+ "sensor.starlingbank" = ps: with ps; [ ];
"sensor.startca" = ps: with ps; [ xmltodict ];
"sensor.statistics" = ps: with ps; [ ];
"sensor.steam_online" = ps: with ps; [ ];
@@ -1041,10 +1081,12 @@
"sensor.uscis" = ps: with ps; [ ];
"sensor.usps" = ps: with ps; [ ];
"sensor.vasttrafik" = ps: with ps; [ ];
+ "sensor.velbus" = ps: with ps; [ ];
"sensor.vera" = ps: with ps; [ ];
"sensor.verisure" = ps: with ps; [ ];
"sensor.version" = ps: with ps; [ ];
"sensor.viaggiatreno" = ps: with ps; [ ];
+ "sensor.volkszaehler" = ps: with ps; [ ];
"sensor.volvooncall" = ps: with ps; [ ];
"sensor.vultr" = ps: with ps; [ vultr ];
"sensor.waqi" = ps: with ps; [ ];
@@ -1079,9 +1121,9 @@
"sleepiq" = ps: with ps; [ ];
"smappee" = ps: with ps; [ ];
"snips" = ps: with ps; [ paho-mqtt ];
- "sonos" = ps: with ps; [ soco ];
+ "sonos" = ps: with ps; [ ];
"spaceapi" = ps: with ps; [ aiohttp-cors ];
- "spc" = ps: with ps; [ websockets ];
+ "spc" = ps: with ps; [ ];
"spider" = ps: with ps; [ ];
"splunk" = ps: with ps; [ ];
"statsd" = ps: with ps; [ statsd ];
@@ -1093,6 +1135,7 @@
"switch.amcrest" = ps: with ps; [ ha-ffmpeg ];
"switch.android_ip_webcam" = ps: with ps; [ ];
"switch.anel_pwrctrl" = ps: with ps; [ ];
+ "switch.aqualogic" = ps: with ps; [ ];
"switch.arduino" = ps: with ps; [ ];
"switch.arest" = ps: with ps; [ ];
"switch.bbb_gpio" = ps: with ps; [ ];
@@ -1106,6 +1149,7 @@
"switch.dlink" = ps: with ps; [ ];
"switch.doorbird" = ps: with ps; [ ];
"switch.edimax" = ps: with ps; [ ];
+ "switch.edp_redy" = ps: with ps; [ ];
"switch.enocean" = ps: with ps; [ ];
"switch.eufy" = ps: with ps; [ ];
"switch.flux" = ps: with ps; [ ];
@@ -1157,6 +1201,8 @@
"switch.smappee" = ps: with ps; [ ];
"switch.snmp" = ps: with ps; [ pysnmp ];
"switch.spider" = ps: with ps; [ ];
+ "switch.switchbot" = ps: with ps; [ ];
+ "switch.switchmate" = ps: with ps; [ ];
"switch.tahoma" = ps: with ps; [ ];
"switch.tellduslive" = ps: with ps; [ ];
"switch.tellstick" = ps: with ps; [ ];
@@ -1166,6 +1212,7 @@
"switch.thinkingcleaner" = ps: with ps; [ ];
"switch.toon" = ps: with ps; [ ];
"switch.tplink" = ps: with ps; [ ];
+ "switch.tradfri" = ps: with ps; [ ];
"switch.transmission" = ps: with ps; [ transmissionrpc ];
"switch.tuya" = ps: with ps; [ ];
"switch.upcloud" = ps: with ps; [ ];
@@ -1197,9 +1244,12 @@
"tesla" = ps: with ps; [ ];
"thethingsnetwork" = ps: with ps; [ ];
"thingspeak" = ps: with ps; [ ];
+ "tibber" = ps: with ps; [ ];
"timer" = ps: with ps; [ ];
"toon" = ps: with ps; [ ];
"tradfri" = ps: with ps; [ ];
+ "tradfri.config_flow" = ps: with ps; [ ];
+ "tradfri.const" = ps: with ps; [ ];
"tts" = ps: with ps; [ aiohttp-cors mutagen ];
"tts.amazon_polly" = ps: with ps; [ boto3 ];
"tts.baidu" = ps: with ps; [ ];
@@ -1215,6 +1265,9 @@
"upcloud" = ps: with ps; [ ];
"updater" = ps: with ps; [ distro ];
"upnp" = ps: with ps; [ aiohttp-cors ];
+ "upnp.config_flow" = ps: with ps; [ ];
+ "upnp.const" = ps: with ps; [ ];
+ "upnp.device" = ps: with ps; [ ];
"usps" = ps: with ps; [ ];
"vacuum" = ps: with ps; [ ];
"vacuum.demo" = ps: with ps; [ ];
@@ -1240,12 +1293,22 @@
"weather.demo" = ps: with ps; [ ];
"weather.ecobee" = ps: with ps; [ ];
"weather.ipma" = ps: with ps; [ ];
+ "weather.met" = ps: with ps; [ ];
"weather.metoffice" = ps: with ps; [ ];
"weather.openweathermap" = ps: with ps; [ pyowm ];
"weather.yweather" = ps: with ps; [ yahooweather ];
"weather.zamg" = ps: with ps; [ ];
+ "webhook" = ps: with ps; [ aiohttp-cors ];
"weblink" = ps: with ps; [ ];
"websocket_api" = ps: with ps; [ aiohttp-cors ];
+ "websocket_api.auth" = ps: with ps; [ ];
+ "websocket_api.commands" = ps: with ps; [ ];
+ "websocket_api.connection" = ps: with ps; [ ];
+ "websocket_api.const" = ps: with ps; [ ];
+ "websocket_api.decorators" = ps: with ps; [ ];
+ "websocket_api.error" = ps: with ps; [ ];
+ "websocket_api.http" = ps: with ps; [ ];
+ "websocket_api.messages" = ps: with ps; [ ];
"wemo" = ps: with ps; [ ];
"wink" = ps: with ps; [ ];
"wirelesstag" = ps: with ps; [ ];
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index e6bbd4ab259..8503b53033c 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -18,12 +18,12 @@ let
defaultOverrides = [
# Override the version of some packages pinned in Home Assistant's setup.py
- (mkOverride "aiohttp" "3.4.0"
- "9b15efa7411dcf3b59c1f4766eb16ba1aba4531a33e54d469ee22106eabce460")
+ (mkOverride "aiohttp" "3.4.4"
+ "51afec6ffa50a9da4cdef188971a802beb1ca8e8edb40fa429e5e529db3475fa")
(mkOverride "astral" "1.6.1"
"ab0c08f2467d35fcaeb7bad15274743d3ac1ad18b5391f64a0058a9cd192d37d")
- (mkOverride "attrs" "18.1.0"
- "e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b")
+ (mkOverride "attrs" "18.2.0"
+ "10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69")
(mkOverride "bcrypt" "3.1.4"
"67ed1a374c9155ec0840214ce804616de49c3df9c5bc66740687c1c9b1cd9e8d")
(mkOverride "pyjwt" "1.6.4"
@@ -36,6 +36,8 @@ let
"ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a")
(mkOverride "voluptuous" "0.11.5"
"567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef")
+ (mkOverride "voluptuous-serialize" "2.0.0"
+ "44be04d87aec34bd7d31ab539341fadc505205f2299031ed9be985112c21aa41")
# used by check_config script
# can be unpinned once https://github.com/home-assistant/home-assistant/issues/11917 is resolved
@@ -75,7 +77,7 @@ let
extraBuildInputs = extraPackages py.pkgs;
# Don't forget to run parse-requirements.py after updating
- hassVersion = "0.77.3";
+ hassVersion = "0.80.3";
in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant";
@@ -90,14 +92,14 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant";
repo = "home-assistant";
rev = version;
- sha256 = "1c459iqbkhs6dv563zld6qb9avpx3h0fnxng476zahj9x9m5rzk6";
+ sha256 = "0fjkw8kg0vsyrkcrx9jhqrh5nzxx5wphj6zglqgai2d635m8j2dg";
};
propagatedBuildInputs = [
# From setup.py
- aiohttp astral async-timeout attrs bcrypt certifi jinja2 pyjwt cryptography pip pytz pyyaml requests voluptuous
- # From http, frontend, recorder and config.config_entries components and auth.mfa_modules.totp
- sqlalchemy aiohttp-cors hass-frontend voluptuous-serialize pyotp pyqrcode
+ aiohttp astral async-timeout attrs bcrypt certifi jinja2 pyjwt cryptography pip pytz pyyaml requests voluptuous voluptuous-serialize
+ # From http, frontend and recorder components and auth.mfa_modules.totp
+ sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode
] ++ componentBuildInputs ++ extraBuildInputs;
checkInputs = [
@@ -109,8 +111,8 @@ in with py.pkgs; buildPythonApplication rec {
py.test --ignore tests/components
# Some basic components should be tested however
py.test \
- tests/components/{group,http,frontend} \
- tests/components/test_{api,configurator,demo,discovery,init,introduction,logger,script,shell_command,system_log,websocket_api}.py
+ tests/components/{group,http,frontend,config,websocket_api} \
+ tests/components/test_{api,configurator,demo,discovery,init,introduction,logger,script,shell_command,system_log}.py
'';
makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip";
diff --git a/pkgs/servers/home-assistant/frontend.nix b/pkgs/servers/home-assistant/frontend.nix
index e04de7effcd..25a63ef71a9 100644
--- a/pkgs/servers/home-assistant/frontend.nix
+++ b/pkgs/servers/home-assistant/frontend.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "home-assistant-frontend";
- version = "20180903.0";
+ version = "20181018.0";
src = fetchPypi {
inherit pname version;
- sha256 = "54ba2ad2d1043952885f432d900025bd3eb11de180ac5147342cff585f44d4f9";
+ sha256 = "83f52421056acda8297f174a7c4e3c540109673c2f2c25720638d171c6bc2653";
};
propagatedBuildInputs = [ user-agents ];
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 31a07ff198e..83f6aeda7f8 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -8734,24 +8734,7 @@ in {
bottleneck = callPackage ../development/python-modules/bottleneck { };
- paho-mqtt = buildPythonPackage rec {
- name = "paho-mqtt-${version}";
- version = "1.1";
-
- disabled = isPyPy;
-
- src = pkgs.fetchurl {
- url = "mirror://pypi/p/paho-mqtt/${name}.tar.gz";
- sha256 = "07i6k9mw66kgbvjgsrcsd2sjji9ckym50dcxnmhjqfkfzsg64yhg";
- };
-
- meta = {
- homepage = "https://eclipse.org/paho/";
- description = "mqtt library for machine to machine and internet of things";
- license = licenses.epl10;
- maintainers = with maintainers; [ mog ];
- };
- };
+ paho-mqtt = callPackage ../development/python-modules/paho-mqtt { };
pamqp = buildPythonPackage rec {
version = "1.6.1";