Merge pull request #85220 from Mic92/home-assistant

authored by

Jörg Thalheim and committed by
GitHub
083ea0ab 21a354b6

+26 -17
+10 -6
pkgs/development/python-modules/snitun/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, python, fetchFromGitHub, attrs, cryptography, async-timeout, pytest-aiohttp, pytest }: 2 3 buildPythonPackage rec { 4 pname = "snitun"; ··· 13 14 propagatedBuildInputs = [ attrs cryptography async-timeout ]; 15 16 - checkInputs = [ pytest pytest-aiohttp ]; 17 18 - checkPhase = '' 19 - # https://github.com/NabuCasa/snitun/issues/61 20 - pytest ${lib.optionalString stdenv.isDarwin "-k 'not test_multiplexer_data_channel_abort_full'"} tests/ 21 - ''; 22 23 meta = with lib; { 24 homepage = "https://github.com/nabucasa/snitun";
··· 1 + { lib, stdenv, buildPythonPackage, python, fetchFromGitHub 2 + , attrs, cryptography, async-timeout, pytest-aiohttp, pytestCheckHook 3 + }: 4 5 buildPythonPackage rec { 6 pname = "snitun"; ··· 15 16 propagatedBuildInputs = [ attrs cryptography async-timeout ]; 17 18 + checkInputs = [ pytestCheckHook pytest-aiohttp ]; 19 20 + disabledTests = lib.optionals stdenv.isDarwin [ 21 + "test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61 22 + # port binding conflicts 23 + "test_snitun_single_runner_timeout" 24 + "test_snitun_single_runner_throttling" 25 + ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/nabucasa/snitun";
+11 -6
pkgs/servers/home-assistant/0001-setup.py-relax-dependencies.patch
··· 1 - From 80f39643bb4d25f8ffcbd92804844961b303f4d0 Mon Sep 17 00:00:00 2001 2 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> 3 Date: Thu, 9 Apr 2020 07:20:46 +0100 4 Subject: [PATCH] setup.py: relax dependencies ··· 8 9 Signed-off-by: Jörg Thalheim <joerg@thalheim.io> 10 --- 11 - setup.py | 10 +++++----- 12 - 1 file changed, 5 insertions(+), 5 deletions(-) 13 14 diff --git a/setup.py b/setup.py 15 - index f53af0ee1..ff4227487 100755 16 --- a/setup.py 17 +++ b/setup.py 18 @@ -32,10 +32,10 @@ PROJECT_URLS = { ··· 28 "bcrypt==3.1.7", 29 "certifi>=2019.11.28", 30 "ciso8601==2.1.3", 31 - @@ -47,9 +47,9 @@ REQUIRES = [ 32 "pip>=8.0.3", 33 "python-slugify==4.0.0", 34 "pytz>=2019.03", ··· 42 "voluptuous-serialize==2.3.0", 43 ] 44 -- 45 - 2.25.1 46
··· 1 + From 679364e1cd95dc7179dbd3114ec35b282fbcb0af Mon Sep 17 00:00:00 2001 2 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> 3 Date: Thu, 9 Apr 2020 07:20:46 +0100 4 Subject: [PATCH] setup.py: relax dependencies ··· 8 9 Signed-off-by: Jörg Thalheim <joerg@thalheim.io> 10 --- 11 + setup.py | 12 ++++++------ 12 + 1 file changed, 6 insertions(+), 6 deletions(-) 13 14 diff --git a/setup.py b/setup.py 15 + index e0daacd98b..7166f1f228 100755 16 --- a/setup.py 17 +++ b/setup.py 18 @@ -32,10 +32,10 @@ PROJECT_URLS = { ··· 28 "bcrypt==3.1.7", 29 "certifi>=2019.11.28", 30 "ciso8601==2.1.3", 31 + @@ -43,13 +43,13 @@ REQUIRES = [ 32 + "jinja2>=2.11.1", 33 + "PyJWT==1.7.1", 34 + # PyJWT has loose dependency. We want the latest one. 35 + - "cryptography==2.8", 36 + + "cryptography>=2.8", 37 "pip>=8.0.3", 38 "python-slugify==4.0.0", 39 "pytz>=2019.03", ··· 47 "voluptuous-serialize==2.3.0", 48 ] 49 -- 50 + 2.26.1 51
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 # Do not edit! 3 4 { 5 - version = "0.108.2"; 6 components = { 7 "abode" = ps: with ps; [ ]; # missing inputs: abodepy 8 "acer_projector" = ps: with ps; [ pyserial];
··· 2 # Do not edit! 3 4 { 5 + version = "0.108.7"; 6 components = { 7 "abode" = ps: with ps; [ ]; # missing inputs: abodepy 8 "acer_projector" = ps: with ps; [ pyserial];
+2 -2
pkgs/servers/home-assistant/default.nix
··· 67 extraBuildInputs = extraPackages py.pkgs; 68 69 # Don't forget to run parse-requirements.py after updating 70 - hassVersion = "0.108.2"; 71 72 in with py.pkgs; buildPythonApplication rec { 73 pname = "homeassistant"; ··· 86 owner = "home-assistant"; 87 repo = "home-assistant"; 88 rev = version; 89 - sha256 = "0v4i1ak7pkpycas0mzdmxgc42xgfymwx2b0a2a4h13c4z46pbs2l"; 90 }; 91 92 propagatedBuildInputs = [
··· 67 extraBuildInputs = extraPackages py.pkgs; 68 69 # Don't forget to run parse-requirements.py after updating 70 + hassVersion = "0.108.7"; 71 72 in with py.pkgs; buildPythonApplication rec { 73 pname = "homeassistant"; ··· 86 owner = "home-assistant"; 87 repo = "home-assistant"; 88 rev = version; 89 + sha256 = "0nk1615ms6nlmhgmsgsknc6m7b19baan8m4kr4s97njngiardxm7"; 90 }; 91 92 propagatedBuildInputs = [
+2 -2
pkgs/servers/home-assistant/frontend.nix
··· 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 pname = "home-assistant-frontend"; 7 - version = "20200407.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "0krwn67bkybjb69daik6dki5hm36xs4nbfwqkh0q7ami1xr1f56d"; 12 }; 13 14 # no Python tests implemented
··· 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 pname = "home-assistant-frontend"; 7 + version = "20200418.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "12px8znc6nw5ndg4f28lvfpqsnzi00b5qgpdj9jwny0fss4aglnb"; 12 }; 13 14 # no Python tests implemented