home-assistant: 0.72.0 -> 0.72.1

This commit is contained in:
Robert Schütz 2018-06-26 22:36:14 +02:00
parent ebc7d20190
commit 44b790fc6f
2 changed files with 14 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "0.72.0"; version = "0.72.1";
components = { components = {
"abode" = ps: with ps; [ ]; "abode" = ps: with ps; [ ];
"ads" = ps: with ps; [ ]; "ads" = ps: with ps; [ ];

View File

@ -6,7 +6,15 @@
let let
py = python3.override { py = python3.override {
# Override the version of some packages pinned in Home Assistant's setup.py
packageOverrides = self: super: { packageOverrides = self: super: {
aiohttp = super.aiohttp.overridePythonAttrs (oldAttrs: rec {
version = "3.3.2";
src = oldAttrs.src.override {
inherit version;
sha256 = "f20deec7a3fbaec7b5eb7ad99878427ad2ee4cc16a46732b705e8121cbb3cc12";
};
});
requests = super.requests.overridePythonAttrs (oldAttrs: rec { requests = super.requests.overridePythonAttrs (oldAttrs: rec {
version = "2.18.4"; version = "2.18.4";
src = oldAttrs.src.override { src = oldAttrs.src.override {
@ -14,6 +22,7 @@ let
sha256 = "0zi3v9nsmv9j27d0c0m1dvqyvaxz53g8m0aa1h3qanxs4irkwi4w"; sha256 = "0zi3v9nsmv9j27d0c0m1dvqyvaxz53g8m0aa1h3qanxs4irkwi4w";
}; };
}); });
# Required by requests==2.18.4
urllib3 = super.urllib3.overridePythonAttrs (oldAttrs: rec { urllib3 = super.urllib3.overridePythonAttrs (oldAttrs: rec {
version = "1.22"; version = "1.22";
src = oldAttrs.src.override { src = oldAttrs.src.override {
@ -21,6 +30,7 @@ let
sha256 = "0kyvc9zdlxr5r96bng5rhm9a6sfqidrbvvkz64s76qs5267dli6c"; sha256 = "0kyvc9zdlxr5r96bng5rhm9a6sfqidrbvvkz64s76qs5267dli6c";
}; };
}); });
# Required by requests==2.18.4
idna = super.idna.overridePythonAttrs (oldAttrs: rec { idna = super.idna.overridePythonAttrs (oldAttrs: rec {
version = "2.6"; version = "2.6";
src = oldAttrs.src.override { src = oldAttrs.src.override {
@ -74,7 +84,7 @@ let
extraBuildInputs = extraPackages py.pkgs; extraBuildInputs = extraPackages py.pkgs;
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "0.72.0"; hassVersion = "0.72.1";
in with py.pkgs; buildPythonApplication rec { in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -89,7 +99,7 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "home-assistant"; repo = "home-assistant";
rev = version; rev = version;
sha256 = "1jz16ikxdh8bkscjs5pczvjqbfllz8avs11gkw8a97c2lds8la76"; sha256 = "05r55hdai0qwgpj2f2qqngks7qmz4lqcfbh2c1symfyigv7m634r";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -108,7 +118,7 @@ in with py.pkgs; buildPythonApplication rec {
py.test --ignore tests/components py.test --ignore tests/components
# Some basic components should be tested however # Some basic components should be tested however
py.test \ py.test \
tests/components/{group,http} \ 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/test_{api,configurator,demo,discovery,init,introduction,logger,script,shell_command,system_log,websocket_api}.py
''; '';