git.iko.soy/typeable/nixpkgs
on master help sign in
home-assistant: 0.81.5 -> 0.82.0
dbceff8Robert Schütz
pkgs/servers/home-assistant/component-packages.nix+22−14
@@ -2,7 +2,7 @@
2# Do not edit!
2# Do not edit!
3
3
4{
4{
5− version = "0.81.5";
5+ version = "0.82.0";
6 components = {
6 components = {
7 "abode" = ps: with ps; [ ];
7 "abode" = ps: with ps; [ ];
8 "ads" = ps: with ps; [ ];
8 "ads" = ps: with ps; [ ];
@@ -137,6 +137,7 @@
137 "binary_sensor.rpi_gpio" = ps: with ps; [ ];
137 "binary_sensor.rpi_gpio" = ps: with ps; [ ];
138 "binary_sensor.rpi_pfio" = ps: with ps; [ ];
138 "binary_sensor.rpi_pfio" = ps: with ps; [ ];
139 "binary_sensor.satel_integra" = ps: with ps; [ ];
139 "binary_sensor.satel_integra" = ps: with ps; [ ];
140+ "binary_sensor.sense" = ps: with ps; [ ];
140 "binary_sensor.skybell" = ps: with ps; [ ];
141 "binary_sensor.skybell" = ps: with ps; [ ];
141 "binary_sensor.sleepiq" = ps: with ps; [ ];
142 "binary_sensor.sleepiq" = ps: with ps; [ ];
142 "binary_sensor.spc" = ps: with ps; [ ];
143 "binary_sensor.spc" = ps: with ps; [ ];
@@ -317,18 +318,20 @@
317 "deconz" = ps: with ps; [ ];
318 "deconz" = ps: with ps; [ ];
318 "deconz.config_flow" = ps: with ps; [ ];
319 "deconz.config_flow" = ps: with ps; [ ];
319 "deconz.const" = ps: with ps; [ ];
320 "deconz.const" = ps: with ps; [ ];
321+ "deconz.gateway" = ps: with ps; [ ];
320 "demo" = ps: with ps; [ aiohttp-cors ];
322 "demo" = ps: with ps; [ aiohttp-cors ];
321 "device_sun_light_trigger" = ps: with ps; [ ];
323 "device_sun_light_trigger" = ps: with ps; [ ];
322 "device_tracker" = ps: with ps; [ ];
324 "device_tracker" = ps: with ps; [ ];
323 "device_tracker.actiontec" = ps: with ps; [ ];
325 "device_tracker.actiontec" = ps: with ps; [ ];
324 "device_tracker.aruba" = ps: with ps; [ pexpect ];
326 "device_tracker.aruba" = ps: with ps; [ pexpect ];
325− "device_tracker.asuswrt" = ps: with ps; [ pexpect ];
327+ "device_tracker.asuswrt" = ps: with ps; [ ];
326 "device_tracker.automatic" = ps: with ps; [ aiohttp-cors ];
328 "device_tracker.automatic" = ps: with ps; [ aiohttp-cors ];
327 "device_tracker.bbox" = ps: with ps; [ ];
329 "device_tracker.bbox" = ps: with ps; [ ];
328 "device_tracker.bluetooth_le_tracker" = ps: with ps; [ ];
330 "device_tracker.bluetooth_le_tracker" = ps: with ps; [ ];
329 "device_tracker.bluetooth_tracker" = ps: with ps; [ ];
331 "device_tracker.bluetooth_tracker" = ps: with ps; [ ];
330 "device_tracker.bmw_connected_drive" = ps: with ps; [ ];
332 "device_tracker.bmw_connected_drive" = ps: with ps; [ ];
331 "device_tracker.bt_home_hub_5" = ps: with ps; [ ];
333 "device_tracker.bt_home_hub_5" = ps: with ps; [ ];
334+ "device_tracker.bt_smarthub" = ps: with ps; [ ];
332 "device_tracker.cisco_ios" = ps: with ps; [ pexpect ];
335 "device_tracker.cisco_ios" = ps: with ps; [ pexpect ];
333 "device_tracker.ddwrt" = ps: with ps; [ ];
336 "device_tracker.ddwrt" = ps: with ps; [ ];
334 "device_tracker.demo" = ps: with ps; [ ];
337 "device_tracker.demo" = ps: with ps; [ ];
@@ -407,6 +410,7 @@
407 "fan.mqtt" = ps: with ps; [ paho-mqtt ];
410 "fan.mqtt" = ps: with ps; [ paho-mqtt ];
408 "fan.template" = ps: with ps; [ ];
411 "fan.template" = ps: with ps; [ ];
409 "fan.tuya" = ps: with ps; [ ];
412 "fan.tuya" = ps: with ps; [ ];
413+ "fan.wemo" = ps: with ps; [ ];
410 "fan.wink" = ps: with ps; [ ];
414 "fan.wink" = ps: with ps; [ ];
411 "fan.xiaomi_miio" = ps: with ps; [ construct ];
415 "fan.xiaomi_miio" = ps: with ps; [ construct ];
412 "fan.zha" = ps: with ps; [ ];
416 "fan.zha" = ps: with ps; [ ];
@@ -417,7 +421,7 @@
417 "foursquare" = ps: with ps; [ aiohttp-cors ];
421 "foursquare" = ps: with ps; [ aiohttp-cors ];
418 "freedns" = ps: with ps; [ ];
422 "freedns" = ps: with ps; [ ];
419 "fritzbox" = ps: with ps; [ ];
423 "fritzbox" = ps: with ps; [ ];
420− "frontend" = ps: with ps; [ aiohttp-cors ruamel_yaml ];
424+ "frontend" = ps: with ps; [ aiohttp-cors ];
421 "gc100" = ps: with ps; [ ];
425 "gc100" = ps: with ps; [ ];
422 "geo_location" = ps: with ps; [ ];
426 "geo_location" = ps: with ps; [ ];
423 "geo_location.demo" = ps: with ps; [ ];
427 "geo_location.demo" = ps: with ps; [ ];
@@ -433,6 +437,7 @@
433 "google_assistant.trait" = ps: with ps; [ ];
437 "google_assistant.trait" = ps: with ps; [ ];
434 "google_domains" = ps: with ps; [ ];
438 "google_domains" = ps: with ps; [ ];
435 "graphite" = ps: with ps; [ ];
439 "graphite" = ps: with ps; [ ];
440+ "greeneye_monitor" = ps: with ps; [ ];
436 "group" = ps: with ps; [ ];
441 "group" = ps: with ps; [ ];
437 "habitica" = ps: with ps; [ ];
442 "habitica" = ps: with ps; [ ];
438 "hangouts" = ps: with ps; [ ];
443 "hangouts" = ps: with ps; [ ];
@@ -492,6 +497,7 @@
492 "image_processing.openalpr_local" = ps: with ps; [ ];
497 "image_processing.openalpr_local" = ps: with ps; [ ];
493 "image_processing.opencv" = ps: with ps; [ numpy ];
498 "image_processing.opencv" = ps: with ps; [ numpy ];
494 "image_processing.seven_segments" = ps: with ps; [ ];
499 "image_processing.seven_segments" = ps: with ps; [ ];
500+ "image_processing.tensorflow" = ps: with ps; [ numpy pillow protobuf ];
495 "influxdb" = ps: with ps; [ influxdb ];
501 "influxdb" = ps: with ps; [ influxdb ];
496 "input_boolean" = ps: with ps; [ ];
502 "input_boolean" = ps: with ps; [ ];
497 "input_datetime" = ps: with ps; [ ];
503 "input_datetime" = ps: with ps; [ ];
@@ -611,11 +617,11 @@
611 "lock.wink" = ps: with ps; [ ];
617 "lock.wink" = ps: with ps; [ ];
612 "lock.xiaomi_aqara" = ps: with ps; [ ];
618 "lock.xiaomi_aqara" = ps: with ps; [ ];
613 "lock.zwave" = ps: with ps; [ ];
619 "lock.zwave" = ps: with ps; [ ];
614− "logbook" = ps: with ps; [ aiohttp-cors ruamel_yaml sqlalchemy ];
620+ "logbook" = ps: with ps; [ aiohttp-cors sqlalchemy ];
615 "logentries" = ps: with ps; [ ];
621 "logentries" = ps: with ps; [ ];
616 "logger" = ps: with ps; [ ];
622 "logger" = ps: with ps; [ ];
617 "logi_circle" = ps: with ps; [ ];
623 "logi_circle" = ps: with ps; [ ];
618− "lovelace" = ps: with ps; [ ruamel_yaml ];
624+ "lovelace" = ps: with ps; [ ];
619 "lutron" = ps: with ps; [ ];
625 "lutron" = ps: with ps; [ ];
620 "lutron_caseta" = ps: with ps; [ ];
626 "lutron_caseta" = ps: with ps; [ ];
621 "mailbox" = ps: with ps; [ aiohttp-cors ];
627 "mailbox" = ps: with ps; [ aiohttp-cors ];
@@ -740,7 +746,7 @@
740 "notify.hangouts" = ps: with ps; [ ];
746 "notify.hangouts" = ps: with ps; [ ];
741 "notify.hipchat" = ps: with ps; [ ];
747 "notify.hipchat" = ps: with ps; [ ];
742 "notify.homematic" = ps: with ps; [ pyhomematic ];
748 "notify.homematic" = ps: with ps; [ pyhomematic ];
743− "notify.html5" = ps: with ps; [ aiohttp-cors ruamel_yaml ];
749+ "notify.html5" = ps: with ps; [ aiohttp-cors ];
744 "notify.instapush" = ps: with ps; [ ];
750 "notify.instapush" = ps: with ps; [ ];
745 "notify.ios" = ps: with ps; [ aiohttp-cors zeroconf ];
751 "notify.ios" = ps: with ps; [ aiohttp-cors zeroconf ];
746 "notify.joaoapps_join" = ps: with ps; [ ];
752 "notify.joaoapps_join" = ps: with ps; [ ];
@@ -789,8 +795,8 @@
789 "openuv" = ps: with ps; [ ];
795 "openuv" = ps: with ps; [ ];
790 "openuv.config_flow" = ps: with ps; [ ];
796 "openuv.config_flow" = ps: with ps; [ ];
791 "openuv.const" = ps: with ps; [ ];
797 "openuv.const" = ps: with ps; [ ];
792− "panel_custom" = ps: with ps; [ aiohttp-cors ruamel_yaml ];
798+ "panel_custom" = ps: with ps; [ aiohttp-cors ];
793− "panel_iframe" = ps: with ps; [ aiohttp-cors ruamel_yaml ];
799+ "panel_iframe" = ps: with ps; [ aiohttp-cors ];
794 "persistent_notification" = ps: with ps; [ ];
800 "persistent_notification" = ps: with ps; [ ];
795 "pilight" = ps: with ps; [ ];
801 "pilight" = ps: with ps; [ ];
796 "plant" = ps: with ps; [ ];
802 "plant" = ps: with ps; [ ];
@@ -842,6 +848,7 @@
842 "scene.wink" = ps: with ps; [ ];
848 "scene.wink" = ps: with ps; [ ];
843 "script" = ps: with ps; [ ];
849 "script" = ps: with ps; [ ];
844 "scsgate" = ps: with ps; [ ];
850 "scsgate" = ps: with ps; [ ];
851+ "sense" = ps: with ps; [ ];
845 "sensor" = ps: with ps; [ ];
852 "sensor" = ps: with ps; [ ];
846 "sensor.abode" = ps: with ps; [ ];
853 "sensor.abode" = ps: with ps; [ ];
847 "sensor.ads" = ps: with ps; [ ];
854 "sensor.ads" = ps: with ps; [ ];
@@ -929,12 +936,13 @@
929 "sensor.gearbest" = ps: with ps; [ ];
936 "sensor.gearbest" = ps: with ps; [ ];
930 "sensor.geizhals" = ps: with ps; [ ];
937 "sensor.geizhals" = ps: with ps; [ ];
931 "sensor.geo_rss_events" = ps: with ps; [ ];
938 "sensor.geo_rss_events" = ps: with ps; [ ];
932− "sensor.gitlab_ci" = ps: with ps; [ ];
939+ "sensor.gitlab_ci" = ps: with ps; [ python-gitlab ];
933 "sensor.gitter" = ps: with ps; [ ];
940 "sensor.gitter" = ps: with ps; [ ];
934 "sensor.glances" = ps: with ps; [ ];
941 "sensor.glances" = ps: with ps; [ ];
935 "sensor.google_travel_time" = ps: with ps; [ ];
942 "sensor.google_travel_time" = ps: with ps; [ ];
936 "sensor.google_wifi" = ps: with ps; [ ];
943 "sensor.google_wifi" = ps: with ps; [ ];
937 "sensor.gpsd" = ps: with ps; [ ];
944 "sensor.gpsd" = ps: with ps; [ ];
945+ "sensor.greeneye_monitor" = ps: with ps; [ ];
938 "sensor.gtfs" = ps: with ps; [ ];
946 "sensor.gtfs" = ps: with ps; [ ];
939 "sensor.habitica" = ps: with ps; [ ];
947 "sensor.habitica" = ps: with ps; [ ];
940 "sensor.haveibeenpwned" = ps: with ps; [ ];
948 "sensor.haveibeenpwned" = ps: with ps; [ ];
@@ -975,6 +983,7 @@
975 "sensor.lyft" = ps: with ps; [ ];
983 "sensor.lyft" = ps: with ps; [ ];
976 "sensor.magicseaweed" = ps: with ps; [ ];
984 "sensor.magicseaweed" = ps: with ps; [ ];
977 "sensor.melissa" = ps: with ps; [ ];
985 "sensor.melissa" = ps: with ps; [ ];
986+ "sensor.meteo_france" = ps: with ps; [ ];
978 "sensor.metoffice" = ps: with ps; [ ];
987 "sensor.metoffice" = ps: with ps; [ ];
979 "sensor.mfi" = ps: with ps; [ ];
988 "sensor.mfi" = ps: with ps; [ ];
980 "sensor.mhz19" = ps: with ps; [ ];
989 "sensor.mhz19" = ps: with ps; [ ];
@@ -1017,7 +1026,7 @@
1017 "sensor.pilight" = ps: with ps; [ ];
1026 "sensor.pilight" = ps: with ps; [ ];
1018 "sensor.plex" = ps: with ps; [ ];
1027 "sensor.plex" = ps: with ps; [ ];
1019 "sensor.pocketcasts" = ps: with ps; [ ];
1028 "sensor.pocketcasts" = ps: with ps; [ ];
1020− "sensor.pollen" = ps: with ps; [ ];
1029+ "sensor.pollen" = ps: with ps; [ numpy ];
1021 "sensor.postnl" = ps: with ps; [ ];
1030 "sensor.postnl" = ps: with ps; [ ];
1022 "sensor.pushbullet" = ps: with ps; [ pushbullet ];
1031 "sensor.pushbullet" = ps: with ps; [ pushbullet ];
1023 "sensor.pvoutput" = ps: with ps; [ ];
1032 "sensor.pvoutput" = ps: with ps; [ ];
@@ -1096,7 +1105,7 @@
1096 "sensor.twitch" = ps: with ps; [ ];
1105 "sensor.twitch" = ps: with ps; [ ];
1097 "sensor.uber" = ps: with ps; [ ];
1106 "sensor.uber" = ps: with ps; [ ];
1098 "sensor.uk_transport" = ps: with ps; [ ];
1107 "sensor.uk_transport" = ps: with ps; [ ];
1099− "sensor.upnp" = ps: with ps; [ aiohttp-cors ];
1108+ "sensor.upnp" = ps: with ps; [ ];
1100 "sensor.ups" = ps: with ps; [ ];
1109 "sensor.ups" = ps: with ps; [ ];
1101 "sensor.uptime" = ps: with ps; [ ];
1110 "sensor.uptime" = ps: with ps; [ ];
1102 "sensor.uscis" = ps: with ps; [ ];
1111 "sensor.uscis" = ps: with ps; [ ];
@@ -1124,7 +1133,6 @@
1124 "sensor.xbox_live" = ps: with ps; [ ];
1133 "sensor.xbox_live" = ps: with ps; [ ];
1125 "sensor.xiaomi_aqara" = ps: with ps; [ ];
1134 "sensor.xiaomi_aqara" = ps: with ps; [ ];
1126 "sensor.xiaomi_miio" = ps: with ps; [ construct ];
1135 "sensor.xiaomi_miio" = ps: with ps; [ construct ];
1127− "sensor.yahoo_finance" = ps: with ps; [ ];
1128 "sensor.yr" = ps: with ps; [ xmltodict ];
1136 "sensor.yr" = ps: with ps; [ xmltodict ];
1129 "sensor.yweather" = ps: with ps; [ yahooweather ];
1137 "sensor.yweather" = ps: with ps; [ yahooweather ];
1130 "sensor.zabbix" = ps: with ps; [ ];
1138 "sensor.zabbix" = ps: with ps; [ ];
@@ -1298,7 +1306,7 @@
1298 "unifi.errors" = ps: with ps; [ ];
1306 "unifi.errors" = ps: with ps; [ ];
1299 "upcloud" = ps: with ps; [ ];
1307 "upcloud" = ps: with ps; [ ];
1300 "updater" = ps: with ps; [ distro ];
1308 "updater" = ps: with ps; [ distro ];
1301− "upnp" = ps: with ps; [ aiohttp-cors ];
1309+ "upnp" = ps: with ps; [ ];
1302 "upnp.config_flow" = ps: with ps; [ ];
1310 "upnp.config_flow" = ps: with ps; [ ];
1303 "upnp.const" = ps: with ps; [ ];
1311 "upnp.const" = ps: with ps; [ ];
1304 "upnp.device" = ps: with ps; [ ];
1312 "upnp.device" = ps: with ps; [ ];
@@ -1362,7 +1370,7 @@
1362 "zone.const" = ps: with ps; [ ];
1370 "zone.const" = ps: with ps; [ ];
1363 "zone.zone" = ps: with ps; [ ];
1371 "zone.zone" = ps: with ps; [ ];
1364 "zoneminder" = ps: with ps; [ ];
1372 "zoneminder" = ps: with ps; [ ];
1365− "zwave" = ps: with ps; [ pydispatcher python_openzwave ];
1373+ "zwave" = ps: with ps; [ homeassistant-pyozw pydispatcher ];
1366 "zwave.config_flow" = ps: with ps; [ ];
1374 "zwave.config_flow" = ps: with ps; [ ];
1367 "zwave.const" = ps: with ps; [ ];
1375 "zwave.const" = ps: with ps; [ ];
1368 "zwave.discovery_schemas" = ps: with ps; [ ];
1376 "zwave.discovery_schemas" = ps: with ps; [ ];
pkgs/servers/home-assistant/default.nix+11−5
@@ -20,8 +20,8 @@ let
20 # Override the version of some packages pinned in Home Assistant's setup.py
20 # Override the version of some packages pinned in Home Assistant's setup.py
21 (mkOverride "aiohttp" "3.4.4"
21 (mkOverride "aiohttp" "3.4.4"
22 "51afec6ffa50a9da4cdef188971a802beb1ca8e8edb40fa429e5e529db3475fa")
22 "51afec6ffa50a9da4cdef188971a802beb1ca8e8edb40fa429e5e529db3475fa")
23− (mkOverride "astral" "1.6.1"
23+ (mkOverride "astral" "1.7.1"
24− "ab0c08f2467d35fcaeb7bad15274743d3ac1ad18b5391f64a0058a9cd192d37d")
24+ "88086fd2006c946567285286464b2da3294a3b0cbba4410b7008ec2458f82a07")
25 (mkOverride "async-timeout" "3.0.1"
25 (mkOverride "async-timeout" "3.0.1"
26 "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f")
26 "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f")
27 (mkOverride "attrs" "18.2.0"
27 (mkOverride "attrs" "18.2.0"
@@ -36,11 +36,17 @@ let
36 "bf4d9b61dce69c49e830950aa36fad194706463b0b6dfe81425b9e0bc6644d46")
36 "bf4d9b61dce69c49e830950aa36fad194706463b0b6dfe81425b9e0bc6644d46")
37 (mkOverride "requests" "2.20.0"
37 (mkOverride "requests" "2.20.0"
38 "99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c")
38 "99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c")
39+ (mkOverride "ruamel_yaml" "0.15.72"
40+ "97652b9e3a76958cf6684d5d963674adf345d8cc192ddd95e2a21b22cda29f40")
39 (mkOverride "voluptuous" "0.11.5"
41 (mkOverride "voluptuous" "0.11.5"
40 "567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef")
42 "567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef")
41 (mkOverride "voluptuous-serialize" "2.0.0"
43 (mkOverride "voluptuous-serialize" "2.0.0"
42 "44be04d87aec34bd7d31ab539341fadc505205f2299031ed9be985112c21aa41")
44 "44be04d87aec34bd7d31ab539341fadc505205f2299031ed9be985112c21aa41")
43
45
46+ # used by auth.mfa_modules.totp
47+ (mkOverride "pyotp" "2.2.6"
48+ "dd9130dd91a0340d89a0f06f887dbd76dd07fb95a8886dc4bc401239f2eebd69")
49+
44 # used by check_config script
50 # used by check_config script
45 # can be unpinned once https://github.com/home-assistant/home-assistant/issues/11917 is resolved
51 # can be unpinned once https://github.com/home-assistant/home-assistant/issues/11917 is resolved
46 (mkOverride "colorlog" "3.1.4"
52 (mkOverride "colorlog" "3.1.4"
@@ -79,7 +85,7 @@ let
79 extraBuildInputs = extraPackages py.pkgs;
85 extraBuildInputs = extraPackages py.pkgs;
80
86
81 # Don't forget to run parse-requirements.py after updating
87 # Don't forget to run parse-requirements.py after updating
82− hassVersion = "0.81.5";
88+ hassVersion = "0.82.0";
83
89
84in with py.pkgs; buildPythonApplication rec {
90in with py.pkgs; buildPythonApplication rec {
85 pname = "homeassistant";
91 pname = "homeassistant";
@@ -94,12 +100,12 @@ in with py.pkgs; buildPythonApplication rec {
94 owner = "home-assistant";
100 owner = "home-assistant";
95 repo = "home-assistant";
101 repo = "home-assistant";
96 rev = version;
102 rev = version;
97− sha256 = "1fgf9hrv7q7g8s561sir951vd27a459mh3k685xzfnhkh4si47g4";
103+ sha256 = "1vvq6frzwmbnynpq6269ykifwmvm8zj5zraslsph3jidppx2bnd4";
98 };
104 };
99
105
100 propagatedBuildInputs = [
106 propagatedBuildInputs = [
101 # From setup.py
107 # From setup.py
102− aiohttp astral async-timeout attrs bcrypt certifi jinja2 pyjwt cryptography pip pytz pyyaml requests voluptuous voluptuous-serialize
108+ aiohttp astral async-timeout attrs bcrypt certifi jinja2 pyjwt cryptography pip pytz pyyaml requests ruamel_yaml voluptuous voluptuous-serialize
103 # From http, frontend and recorder components and auth.mfa_modules.totp
109 # From http, frontend and recorder components and auth.mfa_modules.totp
104 sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode
110 sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode
105 ] ++ componentBuildInputs ++ extraBuildInputs;
111 ] ++ componentBuildInputs ++ extraBuildInputs;
pkgs/servers/home-assistant/frontend.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "home-assistant-frontend";
4 pname = "home-assistant-frontend";
5− version = "20181026.4";
5+ version = "20181103.3";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "b0610206eee06042847d89a581ecfcd71255b0e1ecff77e302237e8aa175b00d";
9+ sha256 = "b1b598f637ffc4c37a3d35aa3b912216f0340cb43fa6c50f4617536669d19499";
10 };
10 };
11
11
12 propagatedBuildInputs = [ user-agents ];
12 propagatedBuildInputs = [ user-agents ];
pkgs/servers/home-assistant/parse-requirements.py+2−2
@@ -1,5 +1,5 @@
1#! /usr/bin/env nix-shell
1#! /usr/bin/env nix-shell
2−#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ aiohttp astral async-timeout attrs certifi jinja2 pyjwt cryptography pip pytz pyyaml requests voluptuous ])"
2+#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ aiohttp astral async-timeout attrs certifi jinja2 pyjwt cryptography pip pytz pyyaml requests ruamel_yaml voluptuous ])"
3#
3#
4# This script downloads Home Assistant's source tarball.
4# This script downloads Home Assistant's source tarball.
5# Inside the homeassistant/components directory, each component has an associated .py file,
5# Inside the homeassistant/components directory, each component has an associated .py file,
@@ -93,7 +93,7 @@ def name_to_attr_path(req):
93 except KeyError:
93 except KeyError:
94 pass
94 pass
95 # Let's hope there's only one derivation with a matching name
95 # Let's hope there's only one derivation with a matching name
96− assert(len(attr_paths) <= 1)
96+ assert len(attr_paths) <= 1, "{} matches more than one derivation: {}".format(req, attr_paths)
97 if len(attr_paths) == 1:
97 if len(attr_paths) == 1:
98 return attr_paths.pop()
98 return attr_paths.pop()
99 else:
99 else: