Merge pull request #142074 from NixOS/home-assistant

home-assistant: 2021.10.4 -> 2021.10.6

authored by

Martin Weinelt and committed by
GitHub
106ef6c0 11dab9f5

+35 -13
+9 -5
pkgs/development/python-modules/crownstone-cloud/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "crownstone-cloud"; 13 - version = "1.4.5"; 13 + version = "1.4.8"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.8"; ··· 18 18 src = fetchFromGitHub { 19 19 owner = "crownstone"; 20 20 repo = "crownstone-lib-python-cloud"; 21 - rev = "v${version}"; 22 - sha256 = "1a8bkqkrc7iyggr5rr20qdqg67sycdx2d94dd1ylkmr7627r34ys"; 21 + rev = version; 22 + sha256 = "sha256-iHn4g52/QM0TS/flKkcFrX6IFrCjiXUxcjVLHNg6tVo="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [ ··· 32 32 pytestCheckHook 33 33 ]; 34 34 35 + disabledTests = [ 36 + # https://github.com/crownstone/crownstone-lib-python-cloud/issues/1 37 + "test_data_structure" 38 + ]; 39 + 35 40 postPatch = '' 36 - substituteInPlace requirements.txt \ 37 - --replace "codecov>=2.1.10" "" 41 + sed -i '/codecov/d' requirements.txt 38 42 ''; 39 43 40 44 pythonImportsCheck = [
+8 -4
pkgs/development/python-modules/simplisafe-python/default.nix
··· 1 1 { lib 2 2 , aiohttp 3 - , aioresponses 3 + , aresponses 4 4 , asynctest 5 5 , backoff 6 6 , buildPythonPackage 7 7 , fetchFromGitHub 8 8 , poetry-core 9 9 , pytest-aiohttp 10 + , pytest-asyncio 10 11 , pytestCheckHook 11 12 , pythonOlder 12 13 , pytz 13 14 , types-pytz 14 15 , voluptuous 16 + , websockets 15 17 }: 16 18 17 19 buildPythonPackage rec { 18 20 pname = "simplisafe-python"; 19 - version = "11.0.6"; 21 + version = "12.0.2"; 20 22 format = "pyproject"; 21 23 disabled = pythonOlder "3.7"; 22 24 ··· 24 26 owner = "bachya"; 25 27 repo = pname; 26 28 rev = version; 27 - sha256 = "sha256-XVn/GBcTTthvsRJOnCZ0yOF3nUwbBZ2dfMJZsJXnE6U="; 29 + sha256 = "sha256-/KnDsnx+Jrirj6uBkdao6PI2jhtzKqDK6cmmQgsO5T4="; 28 30 }; 29 31 30 32 nativeBuildInputs = [ poetry-core ]; ··· 35 37 pytz 36 38 types-pytz 37 39 voluptuous 40 + websockets 38 41 ]; 39 42 40 43 checkInputs = [ 41 - aioresponses 44 + aresponses 42 45 asynctest 43 46 pytest-aiohttp 47 + pytest-asyncio 44 48 pytestCheckHook 45 49 ]; 46 50
+2 -2
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2021.10.4"; 5 + version = "2021.10.6"; 6 6 components = { 7 7 "abode" = ps: with ps; [ abodepy ]; 8 8 "accuweather" = ps: with ps; [ accuweather ]; ··· 151 151 "cover" = ps: with ps; [ ]; 152 152 "cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy 153 153 "cpuspeed" = ps: with ps; [ py-cpuinfo ]; 154 - "crownstone" = ps: with ps; [ aiohttp-cors pyserial pyudev ]; # missing inputs: crownstone-cloud crownstone-sse crownstone-uart 154 + "crownstone" = ps: with ps; [ aiohttp-cors crownstone-cloud crownstone-sse crownstone-uart pyserial pyudev ]; 155 155 "cups" = ps: with ps; [ pycups ]; 156 156 "currencylayer" = ps: with ps; [ ]; 157 157 "daikin" = ps: with ps; [ pydaikin ];
+16 -2
pkgs/servers/home-assistant/default.nix
··· 68 68 # Pinned due to API changes in 0.1.0 69 69 (mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp") 70 70 71 + # Pinned due to missing simpliypy.errors.PendingAuthorizationError in simplisafe-python>12 which results in a failing import 72 + (self: super: { 73 + simplisafe-python = super.simplisafe-python.overridePythonAttrs (oldAttrs: rec { 74 + version = "11.0.7"; 75 + src = fetchFromGitHub { 76 + owner = "bachya"; 77 + repo = "simplisafe-python"; 78 + rev = version; 79 + sha256 = "02nrighkdcd5n9qgbizm9gyfnpgdm4iibw7y8nbyfaxpng069fzp"; 80 + }; 81 + checkInputs = oldAttrs.checkInputs ++ [ super.aioresponses ]; 82 + }); 83 + }) 84 + 71 85 # Pinned due to changes in total-connect-client>0.58 which made the tests fails at the moment 72 86 (self: super: { 73 87 total-connect-client = super.total-connect-client.overridePythonAttrs (oldAttrs: rec { ··· 114 128 extraBuildInputs = extraPackages py.pkgs; 115 129 116 130 # Don't forget to run parse-requirements.py after updating 117 - hassVersion = "2021.10.4"; 131 + hassVersion = "2021.10.6"; 118 132 119 133 in with py.pkgs; buildPythonApplication rec { 120 134 pname = "homeassistant"; ··· 131 145 owner = "home-assistant"; 132 146 repo = "core"; 133 147 rev = version; 134 - sha256 = "1cl0h15285x7xba425d9anv882adi6bdqx4i3cicg3gf0nzcc8am"; 148 + sha256 = "0275f327dzr4cggfw5n8x533b4h8zz8yli5d0js7cw1rmi3cmkbc"; 135 149 }; 136 150 137 151 # leave this in, so users don't have to constantly update their downstream patch handling