git.iko.soy/typeable/nixpkgs
on master help sign in
home-assistant: 0.99.2 -> 0.100.3
commit1155bb1c2f815ec40959499627fac8a6211b20a4 authorFrederik Rietdijk <fridh@fridh.nl> dateTue 29 Oct 2019, 15:06 (7 years ago) parent45b1b9d
2 files changed+48−41
pkgs/servers/home-assistant/component-packages.nix+14−12 pkgs/servers/home-assistant/default.nix+34−29
pkgs/servers/home-assistant/component-packages.nix+14−12
@@ -2,7 +2,7 @@
22# Do not edit!
33
44{
5− version = "0.99.2";
5+ version = "0.100.3";
66 components = {
77 "abode" = ps: with ps; [ ];
88 "acer_projector" = ps: with ps; [ pyserial ];
@@ -158,6 +158,7 @@
158158 "dlna_dmr" = ps: with ps; [ ];
159159 "dnsip" = ps: with ps; [ aiodns ];
160160 "dominos" = ps: with ps; [ aiohttp-cors ];
161+ "doods" = ps: with ps; [ ];
161162 "doorbird" = ps: with ps; [ ];
162163 "dovado" = ps: with ps; [ ];
163164 "downloader" = ps: with ps; [ ];
@@ -213,7 +214,6 @@
213214 "familyhub" = ps: with ps; [ ];
214215 "fan" = ps: with ps; [ ];
215216 "fastdotcom" = ps: with ps; [ ];
216− "fedex" = ps: with ps; [ ];
217217 "feedreader" = ps: with ps; [ ];
218218 "ffmpeg" = ps: with ps; [ ha-ffmpeg ];
219219 "ffmpeg_motion" = ps: with ps; [ ha-ffmpeg ];
@@ -301,6 +301,7 @@
301301 "hdmi_cec" = ps: with ps; [ ];
302302 "heatmiser" = ps: with ps; [ ];
303303 "heos" = ps: with ps; [ ];
304+ "here_travel_time" = ps: with ps; [ ];
304305 "hikvision" = ps: with ps; [ ];
305306 "hikvisioncam" = ps: with ps; [ ];
306307 "hipchat" = ps: with ps; [ ];
@@ -338,7 +339,7 @@
338339 "iglo" = ps: with ps; [ ];
339340 "ign_sismologia" = ps: with ps; [ ];
340341 "ihc" = ps: with ps; [ defusedxml ];
341− "image_processing" = ps: with ps; [ aiohttp-cors ];
342+ "image_processing" = ps: with ps; [ aiohttp-cors pillow ];
342343 "imap" = ps: with ps; [ ];
343344 "imap_email_content" = ps: with ps; [ ];
344345 "incomfort" = ps: with ps; [ ];
@@ -362,9 +363,11 @@
362363 "isy994" = ps: with ps; [ ];
363364 "itach" = ps: with ps; [ ];
364365 "itunes" = ps: with ps; [ ];
366+ "izone" = ps: with ps; [ ];
365367 "jewish_calendar" = ps: with ps; [ ];
366368 "joaoapps_join" = ps: with ps; [ ];
367369 "juicenet" = ps: with ps; [ ];
370+ "kaiterra" = ps: with ps; [ ];
368371 "kankun" = ps: with ps; [ ];
369372 "keba" = ps: with ps; [ ];
370373 "keenetic_ndms2" = ps: with ps; [ ];
@@ -391,7 +394,6 @@
391394 "light" = ps: with ps; [ ];
392395 "lightwave" = ps: with ps; [ ];
393396 "limitlessled" = ps: with ps; [ limitlessled ];
394− "linksys_ap" = ps: with ps; [ beautifulsoup4 ];
395397 "linksys_smart" = ps: with ps; [ ];
396398 "linky" = ps: with ps; [ ];
397399 "linode" = ps: with ps; [ linode-api ];
@@ -412,7 +414,7 @@
412414 "london_underground" = ps: with ps; [ ];
413415 "loopenergy" = ps: with ps; [ ];
414416 "lovelace" = ps: with ps; [ ];
415− "luci" = ps: with ps; [ packaging ];
417+ "luci" = ps: with ps; [ ];
416418 "luftdaten" = ps: with ps; [ luftdaten ];
417419 "lupusec" = ps: with ps; [ ];
418420 "lutron" = ps: with ps; [ ];
@@ -516,6 +518,7 @@
516518 "octoprint" = ps: with ps; [ ];
517519 "oem" = ps: with ps; [ ];
518520 "ohmconnect" = ps: with ps; [ defusedxml ];
521+ "ombi" = ps: with ps; [ ];
519522 "onboarding" = ps: with ps; [ aiohttp-cors ];
520523 "onewire" = ps: with ps; [ ];
521524 "onkyo" = ps: with ps; [ onkyo-eiscp ];
@@ -558,7 +561,7 @@
558561 "pjlink" = ps: with ps; [ ];
559562 "plaato" = ps: with ps; [ aiohttp-cors ];
560563 "plant" = ps: with ps; [ ];
561− "plex" = ps: with ps; [ ];
564+ "plex" = ps: with ps; [ aiohttp-cors ];
562565 "plugwise" = ps: with ps; [ ];
563566 "plum_lightpad" = ps: with ps; [ ];
564567 "pocketcasts" = ps: with ps; [ ];
@@ -628,6 +631,7 @@
628631 "russound_rio" = ps: with ps; [ ];
629632 "russound_rnet" = ps: with ps; [ ];
630633 "sabnzbd" = ps: with ps; [ ];
634+ "saj" = ps: with ps; [ ];
631635 "samsungtv" = ps: with ps; [ wakeonlan ];
632636 "satel_integra" = ps: with ps; [ ];
633637 "scene" = ps: with ps; [ ];
@@ -676,6 +680,7 @@
676680 "solaredge" = ps: with ps; [ stringcase ];
677681 "solaredge_local" = ps: with ps; [ ];
678682 "solax" = ps: with ps; [ ];
683+ "soma" = ps: with ps; [ ];
679684 "somfy" = ps: with ps; [ ];
680685 "somfy_mylink" = ps: with ps; [ ];
681686 "sonarr" = ps: with ps; [ ];
@@ -692,7 +697,6 @@
692697 "spotify" = ps: with ps; [ aiohttp-cors ];
693698 "sql" = ps: with ps; [ sqlalchemy ];
694699 "squeezebox" = ps: with ps; [ ];
695− "srp_energy" = ps: with ps; [ ];
696700 "ssdp" = ps: with ps; [ netdisco ];
697701 "starlingbank" = ps: with ps; [ ];
698702 "startca" = ps: with ps; [ xmltodict ];
@@ -723,7 +727,6 @@
723727 "system_health" = ps: with ps; [ aiohttp-cors ];
724728 "system_log" = ps: with ps; [ aiohttp-cors ];
725729 "systemmonitor" = ps: with ps; [ psutil ];
726− "sytadin" = ps: with ps; [ beautifulsoup4 ];
727730 "tado" = ps: with ps; [ ];
728731 "tahoma" = ps: with ps; [ ];
729732 "tank_utility" = ps: with ps; [ ];
@@ -739,7 +742,7 @@
739742 "telnet" = ps: with ps; [ ];
740743 "temper" = ps: with ps; [ ];
741744 "template" = ps: with ps; [ ];
742− "tensorflow" = ps: with ps; [ numpy pillow protobuf tensorflow ];
745+ "tensorflow" = ps: with ps; [ numpy protobuf tensorflow ];
743746 "tesla" = ps: with ps; [ ];
744747 "tfiac" = ps: with ps; [ ];
745748 "thermoworks_smoke" = ps: with ps; [ stringcase ];
@@ -791,12 +794,10 @@
791794 "upcloud" = ps: with ps; [ ];
792795 "updater" = ps: with ps; [ distro ];
793796 "upnp" = ps: with ps; [ ];
794− "ups" = ps: with ps; [ ];
795797 "uptime" = ps: with ps; [ ];
796798 "uptimerobot" = ps: with ps; [ ];
797799 "uscis" = ps: with ps; [ ];
798800 "usgs_earthquakes_feed" = ps: with ps; [ ];
799− "usps" = ps: with ps; [ ];
800801 "utility_meter" = ps: with ps; [ ];
801802 "uvc" = ps: with ps; [ ];
802803 "vacuum" = ps: with ps; [ ];
@@ -838,7 +839,7 @@
838839 "wink" = ps: with ps; [ ];
839840 "wirelesstag" = ps: with ps; [ ];
840841 "withings" = ps: with ps; [ aiohttp-cors ];
841− "workday" = ps: with ps; [ ];
842+ "workday" = ps: with ps; [ holidays ];
842843 "worldclock" = ps: with ps; [ ];
843844 "worldtidesinfo" = ps: with ps; [ ];
844845 "worxlandroid" = ps: with ps; [ ];
@@ -859,6 +860,7 @@
859860 "yale_smart_alarm" = ps: with ps; [ ];
860861 "yamaha" = ps: with ps; [ ];
861862 "yamaha_musiccast" = ps: with ps; [ ];
863+ "yandex_transport" = ps: with ps; [ ];
862864 "yandextts" = ps: with ps; [ ];
863865 "yeelight" = ps: with ps; [ ];
864866 "yeelightsunflower" = ps: with ps; [ ];
pkgs/servers/home-assistant/default.nix+34−29
@@ -21,36 +21,34 @@ let
2121
2222 defaultOverrides = [
2323 # Override the version of some packages pinned in Home Assistant's setup.py
24− (mkOverride "aiohttp" "3.5.4"
25− "9c4c83f4fa1938377da32bc2d59379025ceeee8e24b89f72fcbccd8ca22dc9bf")
26− (mkOverride "astral" "1.10.1"
27− "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1")
28− (mkOverride "async-timeout" "3.0.1"
29− "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f")
30− (mkOverride "attrs" "19.1.0"
31− "f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399")
32− (mkOverride "bcrypt" "3.1.7"
33− "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42")
34− (mkOverride "pyjwt" "1.7.1"
35− "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96")
24+# (mkOverride "aiohttp" "3.5.4"
25+# "9c4c83f4fa1938377da32bc2d59379025ceeee8e24b89f72fcbccd8ca22dc9bf")
26+# (mkOverride "astral" "1.10.1"
27+# "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1")
28+# (mkOverride "async-timeout" "3.0.1"
29+# "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f")
30+# (mkOverride "bcrypt" "3.1.7"
31+# "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42")
32+# (mkOverride "pyjwt" "1.7.1"
33+# "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96")
3634 (mkOverride "cryptography" "2.7" # TODO for 2.8: Remove the override below
3735 "e6347742ac8f35ded4a46ff835c60e68c22a536a8ae5c4422966d06946b6d4c6")
3836 (mkOverride "cryptography_vectors" "2.7" # required by cryptography==2.7
3937 "f12dfb9bd669a68004074cb5b26df6e93ed1a95ebd1a999dff0a840212ff68bc")
40− (mkOverride "importlib-metadata" "0.18"
41− "cb6ee23b46173539939964df59d3d72c3e0c1b5d54b84f1d8a7e912fe43612db")
42− (mkOverride "python-slugify" "3.0.2"
43− "57163ffb345c7e26063435a27add1feae67fa821f1ef4b2f292c25847575d758")
44− (mkOverride "pyyaml" "5.1.1"
45− "b4bb4d3f5e232425e25dda21c070ce05168a786ac9eda43768ab7f3ac2770955")
46− (mkOverride "requests" "2.22.0"
47− "11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4")
48− (mkOverride "ruamel_yaml" "0.15.97"
49− "17dbf6b7362e7aee8494f7a0f5cffd44902a6331fe89ef0853b855a7930ab845")
50− (mkOverride "voluptuous" "0.11.5"
51− "567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef")
52− (mkOverride "voluptuous-serialize" "2.1.0"
53− "d30fef4f1aba251414ec0b315df81a06da7bf35201dcfb1f6db5253d738a154f")
38+# (mkOverride "importlib-metadata" "0.18"
39+# "cb6ee23b46173539939964df59d3d72c3e0c1b5d54b84f1d8a7e912fe43612db")
40+ (mkOverride "python-slugify" "3.0.4"
41+ "0dv97yi5fq074q5qyqbin09pmi8ixg36caf5nkpw2bqkd8jh6pap")
42+# (mkOverride "pyyaml" "5.1.1"
43+# "b4bb4d3f5e232425e25dda21c070ce05168a786ac9eda43768ab7f3ac2770955")
44+# (mkOverride "requests" "2.22.0"
45+# "11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4")
46+# (mkOverride "ruamel_yaml" "0.15.97"
47+# "17dbf6b7362e7aee8494f7a0f5cffd44902a6331fe89ef0853b855a7930ab845")
48+# (mkOverride "voluptuous" "0.11.5"
49+# "567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef")
50+# (mkOverride "voluptuous-serialize" "2.1.0"
51+# "d30fef4f1aba251414ec0b315df81a06da7bf35201dcfb1f6db5253d738a154f")
5452
5553 # used by auth.mfa_modules.totp
5654 (mkOverride "pyotp" "2.2.7"
@@ -114,7 +112,7 @@ let
114112 extraBuildInputs = extraPackages py.pkgs;
115113
116114 # Don't forget to run parse-requirements.py after updating
117− hassVersion = "0.99.2";
115+ hassVersion = "0.100.3";
118116
119117in with py.pkgs; buildPythonApplication rec {
120118 pname = "homeassistant";
@@ -129,7 +127,7 @@ in with py.pkgs; buildPythonApplication rec {
129127 owner = "home-assistant";
130128 repo = "home-assistant";
131129 rev = version;
132− sha256 = "0qxdsr7zh2yqzignbhi8gcp67ba6gcp2yiyr1rww33a42r4fi0g5";
130+ sha256 = "1rrv71h91qjq5sii4wfcdjvrcpid2aci1dwadrcd35363ff0w200";
133131 };
134132
135133 propagatedBuildInputs = [
@@ -145,10 +143,17 @@ in with py.pkgs; buildPythonApplication rec {
145143 asynctest pytest pytest-aiohttp requests-mock pydispatcher aiohue
146144 ];
147145
146+ postPatch = ''
147+ substituteInPlace setup.py \
148+ --replace "aiohttp==3.6.1" "aiohttp" \
149+ --replace "attrs==19.2.0" "attrs" \
150+ --replace "ruamel.yaml==0.15.100" "ruamel.yaml"
151+ '';
152+
148153 checkPhase = ''
149154 # The components' dependencies are not included, so they cannot be tested
150155 # test_webhook_create_cloudhook imports hass_nabucasa and is thus excluded
151− py.test --ignore tests/components -k "not test_webhook_create_cloudhook"
156+ py.test --ignore tests/components -k "not test_webhook_create_cloudhook and not test_webhook_config_flow_registers_webhook"
152157 # Some basic components should be tested however
153158 py.test \
154159 tests/components/{api,config,configurator,demo,discovery,frontend,group,history,history_graph} \