From 4fc639aa758d24b3f31073f08419e99d10ae51c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 20 May 2019 15:40:43 +0200 Subject: [PATCH] home-assistant: 0.92.2 -> 0.93.2 https://www.home-assistant.io/blog/2019/05/16/release-93/ --- .../home-assistant/component-packages.nix | 14 +++++++-- pkgs/servers/home-assistant/default.nix | 29 +++++-------------- pkgs/servers/home-assistant/frontend.nix | 8 ++--- 3 files changed, 22 insertions(+), 29 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index c7f1bb475c1b..223e2ff8f5ec 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.92.2"; + version = "0.93.2"; components = { "abode" = ps: with ps; [ ]; "acer_projector" = ps: with ps; [ pyserial ]; @@ -19,6 +19,7 @@ "alexa" = ps: with ps; [ aiohttp-cors ]; "alpha_vantage" = ps: with ps; [ ]; "amazon_polly" = ps: with ps; [ boto3 ]; + "ambiclimate" = ps: with ps; [ ]; "ambient_station" = ps: with ps; [ ]; "amcrest" = ps: with ps; [ ha-ffmpeg ]; "ampio" = ps: with ps; [ ]; @@ -56,6 +57,7 @@ "bh1750" = ps: with ps; [ ]; "binary_sensor" = ps: with ps; [ ]; "bitcoin" = ps: with ps; [ ]; + "bizkaibus" = ps: with ps; [ ]; "blackbird" = ps: with ps; [ ]; "blink" = ps: with ps; [ ]; "blinksticklight" = ps: with ps; [ BlinkStick ]; @@ -188,6 +190,7 @@ "epsonworkforce" = ps: with ps; [ ]; "eq3btsmart" = ps: with ps; [ construct ]; "esphome" = ps: with ps; [ aioesphomeapi ]; + "essent" = ps: with ps; [ ]; "etherscan" = ps: with ps; [ ]; "eufy" = ps: with ps; [ ]; "everlights" = ps: with ps; [ ]; @@ -319,6 +322,7 @@ "image_processing" = ps: with ps; [ aiohttp-cors ]; "imap" = ps: with ps; [ ]; "imap_email_content" = ps: with ps; [ ]; + "incomfort" = ps: with ps; [ ]; "influxdb" = ps: with ps; [ influxdb ]; "input_boolean" = ps: with ps; [ ]; "input_datetime" = ps: with ps; [ ]; @@ -332,6 +336,7 @@ "iota" = ps: with ps; [ ]; "iperf3" = ps: with ps; [ ]; "ipma" = ps: with ps; [ ]; + "iqvia" = ps: with ps; [ numpy ]; "irish_rail_transport" = ps: with ps; [ ]; "islamic_prayer_times" = ps: with ps; [ ]; "iss" = ps: with ps; [ ]; @@ -411,6 +416,7 @@ "message_bird" = ps: with ps; [ ]; "met" = ps: with ps; [ ]; "meteo_france" = ps: with ps; [ ]; + "meteoalarm" = ps: with ps; [ ]; "metoffice" = ps: with ps; [ ]; "mfi" = ps: with ps; [ ]; "mhz19" = ps: with ps; [ ]; @@ -456,12 +462,12 @@ "ness_alarm" = ps: with ps; [ ]; "nest" = ps: with ps; [ ]; "netatmo" = ps: with ps; [ aiohttp-cors pyatmo ]; - "netatmo_public" = ps: with ps; [ aiohttp-cors pyatmo ]; "netdata" = ps: with ps; [ ]; "netgear" = ps: with ps; [ ]; "netgear_lte" = ps: with ps; [ ]; "netio" = ps: with ps; [ aiohttp-cors ]; "neurio_energy" = ps: with ps; [ ]; + "nextbus" = ps: with ps; [ ]; "nfandroidtv" = ps: with ps; [ ]; "niko_home_control" = ps: with ps; [ ]; "nilu" = ps: with ps; [ ]; @@ -502,6 +508,7 @@ "openuv" = ps: with ps; [ ]; "openweathermap" = ps: with ps; [ pyowm ]; "opple" = ps: with ps; [ ]; + "orangepi_gpio" = ps: with ps; [ ]; "orvibo" = ps: with ps; [ ]; "osramlightify" = ps: with ps; [ ]; "otp" = ps: with ps; [ pyotp ]; @@ -528,7 +535,6 @@ "plum_lightpad" = ps: with ps; [ ]; "pocketcasts" = ps: with ps; [ ]; "point" = ps: with ps; [ aiohttp-cors ]; - "pollen" = ps: with ps; [ numpy ]; "postnl" = ps: with ps; [ ]; "prezzibenzina" = ps: with ps; [ ]; "proliphix" = ps: with ps; [ ]; @@ -537,6 +543,7 @@ "proximity" = ps: with ps; [ ]; "proxy" = ps: with ps; [ pillow ]; "ps4" = ps: with ps; [ ]; + "ptvsd" = ps: with ps; [ ]; "pulseaudio_loopback" = ps: with ps; [ ]; "push" = ps: with ps; [ aiohttp-cors ]; "pushbullet" = ps: with ps; [ pushbullet ]; @@ -666,6 +673,7 @@ "swisscom" = ps: with ps; [ ]; "switch" = ps: with ps; [ ]; "switchbot" = ps: with ps; [ ]; + "switcher_kis" = ps: with ps; [ ]; "switchmate" = ps: with ps; [ ]; "syncthru" = ps: with ps; [ ]; "synology" = ps: with ps; [ ]; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 6de571b1e0f1..408f4ecb1e05 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -24,8 +24,8 @@ let "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1") (mkOverride "async-timeout" "3.0.1" "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f") - (mkOverride "attrs" "18.2.0" - "10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69") + (mkOverride "attrs" "19.1.0" + "f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399") (mkOverride "bcrypt" "3.1.6" "44636759d222baa62806bbceb20e96f75a015a6381690d1bc2eda91c01ec02ea") (mkOverride "pyjwt" "1.7.1" @@ -40,35 +40,22 @@ let "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf") (mkOverride "requests" "2.21.0" "502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e") - (mkOverride "ruamel_yaml" "0.15.91" - "692f03ed24c8c1d9fa9fd4c045f7ba1c26f1e96edb8bfb4d54854ba26bc02319") + (mkOverride "ruamel_yaml" "0.15.94" + "0939bcb399ad037ef903d74ccf2f8a074f06683bc89133ad19305067d34487c8") (mkOverride "voluptuous" "0.11.5" "567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef") (mkOverride "voluptuous-serialize" "2.1.0" "d30fef4f1aba251414ec0b315df81a06da7bf35201dcfb1f6db5253d738a154f") # used by auth.mfa_modules.totp - (mkOverride "pyotp" "2.2.6" - "dd9130dd91a0340d89a0f06f887dbd76dd07fb95a8886dc4bc401239f2eebd69") + (mkOverride "pyotp" "2.2.7" + "be0ffeabddaa5ee53e7204e7740da842d070cf69168247a3d0c08541b84de602") # used by check_config script # can be unpinned once https://github.com/home-assistant/home-assistant/issues/11917 is resolved (mkOverride "colorlog" "4.0.2" "3cf31b25cbc8f86ec01fef582ef3b840950dea414084ed19ab922c8b493f9b42") - # required by home-assistant-frontend - (self: super: { - user-agents = super.user-agents.overridePythonAttrs (oldAttrs: rec { - version = "2.0.0"; - src = fetchFromGitHub { - owner = "selwin"; - repo = "python-user-agents"; - rev = "v${version}"; - sha256 = "0ix2yajqdnfj433j50dls90mkmqz8m4fiywxg097zwkkc95wm8s4"; - }; - }); - }) - # required by aioesphomeapi (self: super: { protobuf = super.protobuf.override { @@ -109,7 +96,7 @@ let extraBuildInputs = extraPackages py.pkgs; # Don't forget to run parse-requirements.py after updating - hassVersion = "0.92.2"; + hassVersion = "0.93.2"; in with py.pkgs; buildPythonApplication rec { pname = "homeassistant"; @@ -124,7 +111,7 @@ in with py.pkgs; buildPythonApplication rec { owner = "home-assistant"; repo = "home-assistant"; rev = version; - sha256 = "10kqfj7gi8w0d9jalb4i2w4ifla8jkllymjav74abc4b30y08vmw"; + sha256 = "01zdg6yfj6qal8jpr9bskmq25crrvz7w3vifrfxmlqws6hv35gc8"; }; propagatedBuildInputs = [ diff --git a/pkgs/servers/home-assistant/frontend.nix b/pkgs/servers/home-assistant/frontend.nix index 9919270a8d02..c65d3b6de82a 100644 --- a/pkgs/servers/home-assistant/frontend.nix +++ b/pkgs/servers/home-assistant/frontend.nix @@ -1,16 +1,14 @@ -{ lib, fetchPypi, buildPythonPackage, user-agents }: +{ lib, fetchPypi, buildPythonPackage }: buildPythonPackage rec { pname = "home-assistant-frontend"; - version = "20190427.0"; + version = "20190514.0"; src = fetchPypi { inherit pname version; - sha256 = "eb14e7be0ad591ad4623c67db752bc4eb4f4e43ce60bb0f6d1909e9ad9399d91"; + sha256 = "ba8cfa01b00ff2ee94a91cd83197b4d213e9b9df151daaef11dd0a56d34c5414"; }; - propagatedBuildInputs = [ user-agents ]; - # no Python tests implemented doCheck = false;