Merge pull request #287480 from NixOS/home-assistant

home-assistant: 2024.1.6 -> 2024.2.1

authored by Martin Weinelt and committed by GitHub aeea37e7 a971794a

+319 -264
+1
nixos/modules/services/home-automation/home-assistant.nix
··· 533 533 "inkbird" 534 534 "improv_ble" 535 535 "keymitt_ble" 536 + "leaone-ble" 536 537 "led_ble" 537 538 "medcom_ble" 538 539 "melnor"
+8 -3
pkgs/development/python-modules/aioecowitt/default.nix
··· 6 6 , pytest-aiohttp 7 7 , pytestCheckHook 8 8 , pythonOlder 9 + , setuptools 9 10 }: 10 11 11 12 buildPythonPackage rec { 12 13 pname = "aioecowitt"; 13 - version = "2024.2.0"; 14 - format = "setuptools"; 14 + version = "2024.2.1"; 15 + pyproject = true; 15 16 16 17 disabled = pythonOlder "3.9"; 17 18 ··· 19 20 owner = "home-assistant-libs"; 20 21 repo = pname; 21 22 rev = "refs/tags/${version}"; 22 - hash = "sha256-vKpzD6m0zG8yAghmoNKcufqoJUYOTxN3w+ix1ObuLpw="; 23 + hash = "sha256-PBV5jk0oItelCDFZsk8et0raIGEWxOaNdHuAViQ6LZc="; 23 24 }; 25 + 26 + nativeBuildInputs = [ 27 + setuptools 28 + ]; 24 29 25 30 propagatedBuildInputs = [ 26 31 aiohttp
+2 -2
pkgs/development/python-modules/aioelectricitymaps/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "aioelectricitymaps"; 17 - version = "0.3.0"; 17 + version = "0.4.0"; 18 18 pyproject = true; 19 19 20 20 disabled = pythonOlder "3.11"; ··· 23 23 owner = "jpbede"; 24 24 repo = "aioelectricitymaps"; 25 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-saIzVbgYx5nIM5fk7i3wu4X1gOIj81L/rRNq5Xl4cnw="; 26 + hash = "sha256-q06B40c0uvSuzH/3YCoxg4p9aNIOPrphsoESktF+B14="; 27 27 }; 28 28 29 29 postPatch = ''
+2 -2
pkgs/development/python-modules/aioesphomeapi/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "aioesphomeapi"; 26 - version = "21.0.1"; 26 + version = "21.0.2"; 27 27 pyproject = true; 28 28 29 29 disabled = pythonOlder "3.9"; ··· 32 32 owner = "esphome"; 33 33 repo = pname; 34 34 rev = "refs/tags/v${version}"; 35 - hash = "sha256-HPnyFHHx1BahqzvRChT85BaG4eJM3qvTq2Tpbqb3SDI="; 35 + hash = "sha256-uNVf0wnqVntjTxkNTilvb0v6h3VBCjd91wbLQJ6q71g="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/aiohttp-zlib-ng/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "aiohttp-zlib-ng"; 13 - version = "0.1.3"; 13 + version = "0.3.1"; 14 14 pyproject = true; 15 15 16 16 disabled = pythonOlder "3.8"; ··· 19 19 owner = "bdraco"; 20 20 repo = "aiohttp-zlib-ng"; 21 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-t7T3KIGId5CoBciSkwu/sejW45i2EYtq1fHvNKNXlhA="; 22 + hash = "sha256-XA2XSX9KA/oBzOLJrhj78uoy6ufLbVTENYZL3y/+fwU="; 23 23 }; 24 24 25 25 postPatch = '' 26 26 substituteInPlace pyproject.toml \ 27 - --replace " --cov=aiohttp_zlib_ng --cov-report=term-missing:skip-covered" "" 27 + --replace-fail " --cov=aiohttp_zlib_ng --cov-report=term-missing:skip-covered" "" 28 28 ''; 29 29 30 30 nativeBuildInputs = [
+13 -4
pkgs/development/python-modules/aioshelly/default.nix
··· 3 3 , bluetooth-data-tools 4 4 , buildPythonPackage 5 5 , fetchFromGitHub 6 + , habluetooth 6 7 , orjson 7 8 , pythonOlder 9 + , setuptools 10 + , yarl 8 11 }: 9 12 10 13 buildPythonPackage rec { 11 14 pname = "aioshelly"; 12 - version = "7.1.0"; 13 - format = "setuptools"; 15 + version = "8.0.1"; 16 + pyproject = true; 14 17 15 - disabled = pythonOlder "3.9"; 18 + disabled = pythonOlder "3.10"; 16 19 17 20 src = fetchFromGitHub { 18 21 owner = "home-assistant-libs"; 19 22 repo = pname; 20 23 rev = "refs/tags/${version}"; 21 - hash = "sha256-W8oAJ7q4cAWq+RF4Hwd8cuPkEZQorsBnjmos5tVSBzc="; 24 + hash = "sha256-3W5XfSOaKCCBjDHJh8IP/5I48py3j6i2O3FfhbcQzbY="; 22 25 }; 23 26 27 + nativeBuildInputs = [ 28 + setuptools 29 + ]; 30 + 24 31 propagatedBuildInputs = [ 25 32 aiohttp 26 33 bluetooth-data-tools 34 + habluetooth 27 35 orjson 36 + yarl 28 37 ]; 29 38 30 39 # Project has no test
+3 -3
pkgs/development/python-modules/aiounifi/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "aiounifi"; 18 - version = "69"; 18 + version = "70"; 19 19 pyproject = true; 20 20 21 21 disabled = pythonOlder "3.11"; ··· 24 24 owner = "Kane610"; 25 25 repo = "aiounifi"; 26 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-XYwdnG3OprHRZm3zQgoPw4VOzvvVflsQzi7+XQiASAU="; 27 + hash = "sha256-yLqGqRWzuMqymGqGR1mA4oQb+tWt58lA7C/kXC5bYz8="; 28 28 }; 29 29 30 30 postPatch = '' ··· 66 66 homepage = "https://github.com/Kane610/aiounifi"; 67 67 changelog = "https://github.com/Kane610/aiounifi/releases/tag/v${version}"; 68 68 license = licenses.mit; 69 - maintainers = with maintainers; [ peterhoeg ]; 69 + maintainers = with maintainers; [ ]; 70 70 }; 71 71 }
+2 -2
pkgs/development/python-modules/awesomeversion/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "awesomeversion"; 16 - version = "23.11.0"; 16 + version = "24.2.0"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "ludeeus"; 23 23 repo = pname; 24 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-glnM32ha5eXVpoaDkEsbwdH1oiG9qMxFwbtqLx+Kl98="; 25 + hash = "sha256-bpLtHhpWc1VweVl5G8mM473Js3bXT11N3Zc0jiVqq5c="; 26 26 }; 27 27 28 28 postPatch = ''
+2 -2
pkgs/development/python-modules/bellows/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "bellows"; 19 - version = "0.37.6"; 19 + version = "0.38.0"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.8"; ··· 25 25 owner = "zigpy"; 26 26 repo = "bellows"; 27 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-S3Yf0C+KInYoDaixlJf+9WSPIcEhfQCdcwEuNQYxugU="; 28 + hash = "sha256-7aqzhujTn1TMYBA6+79Ok76yv8hXszuuZ7TjhJ6zbQw="; 29 29 }; 30 30 31 31 postPatch = ''
+2 -2
pkgs/development/python-modules/dbus-fast/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "dbus-fast"; 16 - version = "2.21.0"; 16 + version = "2.21.1"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 22 22 owner = "Bluetooth-Devices"; 23 23 repo = pname; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-P2Czo7XRJLDnR62eLb2lYn97nS5x6LsnYHs47+mvktQ="; 25 + hash = "sha256-L3PZjxbcVfqWktWuN5l8JxfR1GyxuA+1ZtO/W2YqFZA="; 26 26 }; 27 27 28 28 # The project can build both an optimized cython version and an unoptimized
+2 -2
pkgs/development/python-modules/habluetooth/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "habluetooth"; 19 - version = "2.1.0"; 19 + version = "2.4.0"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.10"; ··· 25 25 owner = "Bluetooth-Devices"; 26 26 repo = "habluetooth"; 27 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-oPdKmaj2wKgOQw7QYwOQc8efcNtQiGryZgNJ+bbB6L8="; 28 + hash = "sha256-bZtcvidjUhlb9ML1UIP00yqJ+KnJig5i0j/tAZSK7+Y="; 29 29 }; 30 30 31 31 postPatch = ''
+2 -2
pkgs/development/python-modules/hass-nabucasa/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "hass-nabucasa"; 24 - version = "0.75.1"; 24 + version = "0.78.0"; 25 25 pyproject = true; 26 26 27 27 disabled = pythonOlder "3.10"; ··· 30 30 owner = "nabucasa"; 31 31 repo = pname; 32 32 rev = "refs/tags/${version}"; 33 - hash = "sha256-VQ5nxkrHt6xp+bk/wqAPJ+srTuf9WyamoLXawW1mKWo="; 33 + hash = "sha256-ZqBYmh+MA4ZuhnUQPn/C8d7CVPrwp6mirsWnoB/ZMFw="; 34 34 }; 35 35 36 36 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/hassil/default.nix
··· 13 13 14 14 let 15 15 pname = "hassil"; 16 - version = "1.5.1"; 16 + version = "1.6.1"; 17 17 in 18 18 buildPythonPackage { 19 19 inherit pname version; ··· 23 23 24 24 src = fetchPypi { 25 25 inherit pname version; 26 - hash = "sha256-GLvDT8BUBvEzgiqKaXokF912g3fOH+KsXnmeOXIwe9U="; 26 + hash = "sha256-jkPo02Jy6UqyC5YvwMw+DDkT8rG5Xe4EiNVED/JHzKc="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+5 -5
pkgs/development/python-modules/holidays/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "holidays"; 24 - version = "0.40"; 24 + version = "0.42"; 25 25 pyproject = true; 26 26 27 27 disabled = pythonOlder "3.8"; 28 28 29 29 src = fetchFromGitHub { 30 - owner = "dr-prodigy"; 30 + owner = "vacanza"; 31 31 repo = "python-holidays"; 32 32 rev = "refs/tags/v${version}"; 33 - hash = "sha256-rFitLHUgXSWNd59VzG01ggaTHfVzI50OAi7Gxr6pMug="; 33 + hash = "sha256-BVmH3LO0VjIcpS8HoQmP6mHv7zDK0Aw3pS4oiZWhF/4="; 34 34 }; 35 35 36 36 nativeBuildInputs = [ ··· 75 75 76 76 meta = with lib; { 77 77 description = "Generate and work with holidays in Python"; 78 - homepage = "https://github.com/dr-prodigy/python-holidays"; 79 - changelog = "https://github.com/dr-prodigy/python-holidays/releases/tag/v${version}"; 78 + homepage = "https://github.com/vacanza/python-holidays"; 79 + changelog = "https://github.com/vacanza/python-holidays/releases/tag/v${version}"; 80 80 license = licenses.mit; 81 81 maintainers = with maintainers; [ fab jluttine ]; 82 82 };
+1 -1
pkgs/development/python-modules/home-assistant-bluetooth/default.nix
··· 27 27 owner = "home-assistant-libs"; 28 28 repo = "home-assistant-bluetooth"; 29 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-1Bp43TaJkrT9lZsBu4yiuOD4tE7vv6bYRlcgTfNwOuA="; 30 + hash = "sha256-KTaZ3xbZpBIN5zP73YdJW6QeCQThGdqejnfWwvL+0R8="; 31 31 }; 32 32 33 33 postPatch = ''
+2 -2
pkgs/development/python-modules/home-assistant-chip-clusters/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "home-assistant-chip-clusters"; 10 - version = "2023.12.0"; 10 + version = "2024.1.0"; 11 11 format = "wheel"; 12 12 13 13 src = fetchPypi { ··· 15 15 pname = "home_assistant_chip_clusters"; 16 16 dist = "py3"; 17 17 python = "py3"; 18 - hash = "sha256-4yAfbQBqHMEXWMwJ0kSDs0We/AsHweJ+Tc8aZiWi90w="; 18 + hash = "sha256-4btkqAHbwAsyGV1LjngEoeTT5qyI8dtqFVTp0lIFwmg="; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/home-assistant-chip-core/default.nix
··· 28 28 29 29 buildPythonPackage rec { 30 30 pname = "home-assistant-chip-core"; 31 - version = "2023.12.0"; 31 + version = "2024.1.0"; 32 32 format = "wheel"; 33 33 34 34 disabled = pythonOlder "3.7"; ··· 41 41 }; 42 42 "x86_64-linux" = { 43 43 name = "x86_64"; 44 - hash = "sha256-wRJWgT+uycCwNKMgHaiACv1y+AvOLrPOpcm2I8hVAxk="; 44 + hash = "sha256-/+gegUMd2n7MpJvdilS5VWefXc0tuRcLrXBBXSH35b0="; 45 45 }; 46 46 }.${stdenv.system} or (throw "Unsupported system"); 47 47 in fetchPypi {
+2 -14
pkgs/development/python-modules/knx-frontend/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchpatch 4 3 , fetchPypi 5 4 , setuptools 6 - , wheel 7 5 }: 8 6 9 7 buildPythonPackage rec { 10 8 pname = "knx-frontend"; 11 - version = "2023.6.23.191712"; 9 + version = "2024.1.20.105944"; 12 10 format = "pyproject"; 13 11 14 12 # TODO: source build, uses yarn.lock 15 13 src = fetchPypi { 16 14 pname = "knx_frontend"; 17 15 inherit version; 18 - hash = "sha256-MeurZ6731qjeBK6HTwXYLVs6+nXF9Hf1p8/NNwxmae4="; 16 + hash = "sha256-5u+BaZjbGpIpQd3k+u5NC099TQuiwGKdE/EoIWny01I="; 19 17 }; 20 18 21 - patches = [ 22 - # https://github.com/XKNX/knx-frontend/pull/96 23 - (fetchpatch { 24 - name = "relax-setuptools-dependency.patch"; 25 - url = "https://github.com/XKNX/knx-frontend/commit/72ac6dc42eeeb488992b0709ee58ea4a79287817.patch"; 26 - hash = "sha256-EpfgEq4pIx7ahqJZalzo30ruj8NlZYHcKHxFXCGL98w="; 27 - }) 28 - ]; 29 - 30 19 nativeBuildInputs = [ 31 20 setuptools 32 - wheel 33 21 ]; 34 22 35 23 pythonImportsCheck = [
+47 -29
pkgs/development/python-modules/matrix-nio/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , logbook 4 + 5 + # build-system 6 + , poetry-core 7 + 8 + # dependencies 5 9 , aiofiles 6 10 , aiohttp 7 11 , aiohttp-socks 8 - , aioresponses 9 - , atomicwrites 10 - , attrs 11 - , cachetools 12 - , faker 13 - , future 14 - , git 15 12 , h11 16 13 , h2 17 - , hypothesis 18 14 , jsonschema 19 - , peewee 20 - , poetry-core 21 - , py 22 15 , pycryptodome 16 + , unpaddedbase64 17 + 18 + # optional-dependencies 19 + , atomicwrites 20 + , cachetools 21 + , peewee 22 + , python-olm 23 + 24 + # tests 25 + , aioresponses 26 + , faker 27 + , hpack 28 + , hyperframe 29 + , hypothesis 23 30 , pytest-aiohttp 24 31 , pytest-benchmark 25 32 , pytestCheckHook 26 - , python-olm 27 - , unpaddedbase64 33 + 34 + # passthru tests 35 + , nixosTests 36 + , opsdroid 37 + , pantalaimon 38 + , weechatScripts 39 + , zulip 28 40 }: 29 41 30 42 buildPythonPackage rec { 31 43 pname = "matrix-nio"; 32 - version = "0.22.1"; 44 + version = "0.24.0"; 33 45 format = "pyproject"; 34 46 35 47 src = fetchFromGitHub { 36 48 owner = "poljar"; 37 49 repo = "matrix-nio"; 38 50 rev = version; 39 - hash = "sha256-hFSS2Nys95YJgBNED8SBan24iRo2q/UOr6pqUPAF5Ms="; 51 + hash = "sha256-XlswVHLvKOi1qr+I7Mbm4IBjn1DG7glgDsNY48NA5Ew="; 40 52 }; 41 53 42 - postPatch = '' 43 - substituteInPlace pyproject.toml \ 44 - --replace 'aiofiles = "^0.6.0"' 'aiofiles = "*"' \ 45 - --replace 'h11 = "^0.12.0"' 'h11 = "*"' \ 46 - --replace 'cachetools = { version = "^4.2.1", optional = true }' 'cachetools = { version = "*", optional = true }' \ 47 - --replace 'aiohttp-socks = "^0.7.0"' 'aiohttp-socks = "*"' 48 - ''; 49 - 50 54 nativeBuildInputs = [ 51 - git 52 55 poetry-core 53 56 ]; 54 57 ··· 56 59 aiofiles 57 60 aiohttp 58 61 aiohttp-socks 59 - attrs 60 - future 61 62 h11 62 63 h2 63 64 jsonschema 64 - logbook 65 65 pycryptodome 66 66 unpaddedbase64 67 67 ]; ··· 78 78 nativeCheckInputs = [ 79 79 aioresponses 80 80 faker 81 + hpack 82 + hyperframe 81 83 hypothesis 82 - py 83 84 pytest-aiohttp 84 85 pytest-benchmark 85 86 pytestCheckHook ··· 95 96 # time dependent and flaky 96 97 "test_transfer_monitor_callbacks" 97 98 ]; 99 + 100 + passthru.tests = { 101 + inherit (nixosTests) 102 + dendrite 103 + matrix-appservice-irc 104 + matrix-conduit 105 + mjolnir 106 + ; 107 + inherit (weechatScripts) 108 + weechat-matrix 109 + ; 110 + inherit 111 + opsdroid 112 + pantalaimon 113 + zulip 114 + ; 115 + }; 98 116 99 117 meta = with lib; { 100 118 homepage = "https://github.com/poljar/matrix-nio";
+5 -3
pkgs/development/python-modules/python-matter-server/default.nix
··· 18 18 # optionals 19 19 , cryptography 20 20 , home-assistant-chip-core 21 + , zeroconf 21 22 22 23 # tests 23 24 , python ··· 28 29 29 30 buildPythonPackage rec { 30 31 pname = "python-matter-server"; 31 - version = "5.1.1"; 32 + version = "5.5.3"; 32 33 format = "pyproject"; 33 34 34 35 disabled = pythonOlder "3.10"; ··· 37 38 owner = "home-assistant-libs"; 38 39 repo = "python-matter-server"; 39 40 rev = "refs/tags/${version}"; 40 - hash = "sha256-y4gapml7rIwOu1TVDEHPch7JS5Rl/cIfMLeVMIFzXOY="; 41 + hash = "sha256-8daAABR5l8ZEX+PR4XrxRHlLllgnOVE4Q9yY/7UQXHw="; 41 42 }; 42 43 43 44 postPatch = '' ··· 63 64 server = [ 64 65 cryptography 65 66 home-assistant-chip-core 67 + zeroconf 66 68 ]; 67 69 }; 68 70 ··· 70 72 pytest-aiohttp 71 73 pytestCheckHook 72 74 ] 73 - ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 75 + ++ lib.flatten (lib.attrValues passthru.optional-dependencies); 74 76 75 77 preCheck = let 76 78 pythonEnv = python.withPackages (_: propagatedBuildInputs ++ nativeCheckInputs ++ [ pytest ]);
+10 -6
pkgs/development/python-modules/tesla-powerwall/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 5 , pythonOlder 6 - , requests 7 - , responses 6 + , aiohttp 7 + , urllib3 8 + , orjson 9 + , aresponses 8 10 , setuptools 9 11 }: 10 12 11 13 buildPythonPackage rec { 12 14 pname = "tesla-powerwall"; 13 - version = "0.4.0"; 15 + version = "0.5.1"; 14 16 pyproject = true; 15 17 16 18 disabled = pythonOlder "3.7"; ··· 19 21 owner = "jrester"; 20 22 repo = "tesla_powerwall"; 21 23 rev = "refs/tags/v${version}"; 22 - hash = "sha256-IqUxWwEvrSEbLAEnHG84oCV75qO0L5LmgpHOfaM6G8o="; 24 + hash = "sha256-if/FCfxAB48WGXZOMvCtdSOW2FWO43OrlcHZbXIPmGE="; 23 25 }; 24 26 25 27 nativeBuildInputs = [ ··· 27 29 ]; 28 30 29 31 propagatedBuildInputs = [ 30 - requests 32 + aiohttp 33 + urllib3 34 + orjson 31 35 ]; 32 36 33 37 nativeCheckInputs = [ 38 + aresponses 34 39 pytestCheckHook 35 - responses 36 40 ]; 37 41 38 42 pytestFlagsArray = [
+2 -2
pkgs/development/python-modules/thermopro-ble/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "thermopro-ble"; 14 - version = "0.8.0"; 14 + version = "0.9.0"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 20 20 owner = "bluetooth-devices"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-ENzFX0rD97hCnllFKjcSGbAbEksqln/Hj0MuDVOKGDo="; 23 + hash = "sha256-x/eO+LNJ98ThrQD5c9S54cPRnupN21UkpF7uR3+WwSU="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+9 -2
pkgs/development/python-modules/universal-silabs-flasher/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 + , pythonRelaxDepsHook 5 6 6 7 # build-system 7 8 , setuptools ··· 26 27 27 28 buildPythonPackage rec { 28 29 pname = "universal-silabs-flasher"; 29 - version = "0.0.15"; 30 + version = "0.0.18"; 30 31 pyproject = true; 31 32 32 33 src = fetchFromGitHub { 33 34 owner = "NabuCasa"; 34 35 repo = "universal-silabs-flasher"; 35 36 rev = "v${version}"; 36 - hash = "sha256-5hA1i2XzKzQDRrZfOaA6I3X7hU+nSd7HpcHHNIzZO7g="; 37 + hash = "sha256-XUMpWzDqouhbsP+s0b13f6N0YGdXJK6qhbWQLqMzNHM="; 37 38 }; 38 39 39 40 nativeBuildInputs = [ 41 + pythonRelaxDepsHook 40 42 setuptools 41 43 setuptools-git-versioning 44 + ]; 45 + 46 + pythonRelaxDeps = [ 47 + # https://github.com/NabuCasa/universal-silabs-flasher/pull/50 48 + "gpiod" 42 49 ]; 43 50 44 51 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/wyoming/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "wyoming"; 19 - version = "1.4.0"; 19 + version = "1.5.2"; 20 20 pyproject = true; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "rhasspy"; 24 24 repo = "wyoming"; 25 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-59/6tRHHAu31VFuKhj2LCEUqkdVi81fu5POuGJmw9bw="; 26 + hash = "sha256-2bc5coKL5KlTeL9fdghPmRF66NXfimHOKGtE2yPXgrA="; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/zha-quirks/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "zha-quirks"; 14 - version = "0.0.109"; 14 + version = "0.0.111"; 15 15 pyproject = true; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "zigpy"; 21 21 repo = "zha-device-handlers"; 22 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-fkE44j+wXdIJekJJNoO67YzsghalTUpyNx9R/B2Vn1Y="; 23 + hash = "sha256-e2Ho/LBdnEKn7hgykhstjv8ZUYAn41e1+rsgA1MEmf4="; 24 24 }; 25 25 26 26 postPatch = ''
+11
pkgs/development/python-modules/zigpy-znp/default.nix
··· 62 62 "--reruns=3" 63 63 ]; 64 64 65 + disabledTests = [ 66 + # failing since zigpy 0.60.0 67 + "test_join_device" 68 + "test_nonstandard_profile" 69 + "test_permit_join" 70 + "test_request_recovery_route_rediscovery_zdo" 71 + "test_watchdog" 72 + "test_zigpy_request" 73 + "test_zigpy_request_failure" 74 + ]; 75 + 65 76 pythonImportsCheck = [ 66 77 "zigpy_znp" 67 78 ];
+3 -3
pkgs/development/python-modules/zigpy/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "zigpy"; 21 - version = "0.60.2"; 22 - format = "pyproject"; 21 + version = "0.62.3"; 22 + pyproject = true; 23 23 24 24 disabled = pythonOlder "3.8"; 25 25 ··· 27 27 owner = "zigpy"; 28 28 repo = "zigpy"; 29 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-3hYgb2uvyFQmtfdVKBorGhTgVt/Dq1roXTu7xvE7SHY="; 30 + hash = "sha256-LMcyYDUH/jGrDW8sjrT9kHdIWQ20fOOcOJRhUpKMGi8="; 31 31 }; 32 32 33 33 postPatch = ''
+125 -23
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2024.1.6"; 5 + version = "2024.2.1"; 6 6 components = { 7 7 "3_day_blinds" = ps: with ps; [ 8 8 ]; ··· 94 94 "airtouch4" = ps: with ps; [ 95 95 airtouch4pyapi 96 96 ]; 97 + "airtouch5" = ps: with ps; [ 98 + ]; # missing inputs: airtouch5py 97 99 "airvisual" = ps: with ps; [ 98 100 pyairvisual 99 101 ]; ··· 157 159 psutil-home-assistant 158 160 sqlalchemy 159 161 ]; 162 + "analytics_insights" = ps: with ps; [ 163 + ]; # missing inputs: python-homeassistant-analytics 160 164 "android_ip_webcam" = ps: with ps; [ 161 165 pydroid-ipcam 162 166 ]; ··· 383 387 "balboa" = ps: with ps; [ 384 388 pybalboa 385 389 ]; 390 + "bang_olufsen" = ps: with ps; [ 391 + ]; # missing inputs: mozart-api 386 392 "bayesian" = ps: with ps; [ 387 393 ]; 388 394 "bbox" = ps: with ps; [ ··· 561 567 ]; 562 568 "brel_home" = ps: with ps; [ 563 569 ]; 570 + "bring" = ps: with ps; [ 571 + ]; # missing inputs: python-bring-api 564 572 "broadlink" = ps: with ps; [ 565 573 broadlink 566 574 ]; ··· 680 688 "cisco_mobility_express" = ps: with ps; [ 681 689 ciscomobilityexpress 682 690 ]; 683 - "cisco_webex_teams" = ps: with ps; [ 684 - webexteamssdk 685 - ]; 686 691 "citybikes" = ps: with ps; [ 687 692 ]; 688 693 "clementine" = ps: with ps; [ ··· 718 723 ]; # missing inputs: pycmus 719 724 "co2signal" = ps: with ps; [ 720 725 aioelectricitymaps 726 + ]; 727 + "coautilities" = ps: with ps; [ 721 728 ]; 722 729 "coinbase" = ps: with ps; [ 723 730 ]; # missing inputs: coinbase ··· 1115 1122 pyeconet 1116 1123 ]; 1117 1124 "ecovacs" = ps: with ps; [ 1125 + deebot-client 1118 1126 ]; # missing inputs: py-sucks 1119 1127 "ecowitt" = ps: with ps; [ 1120 1128 aioecowitt ··· 1170 1178 "elv" = ps: with ps; [ 1171 1179 pypca 1172 1180 ]; 1181 + "elvia" = ps: with ps; [ 1182 + fnv-hash-fast 1183 + psutil-home-assistant 1184 + sqlalchemy 1185 + ]; # missing inputs: elvia 1173 1186 "emby" = ps: with ps; [ 1174 1187 pyemby 1175 1188 ]; ··· 1237 1250 ]; 1238 1251 "ephember" = ps: with ps; [ 1239 1252 pyephember 1253 + ]; 1254 + "epion" = ps: with ps; [ 1255 + epion 1240 1256 ]; 1241 1257 "epson" = ps: with ps; [ 1242 1258 epson-projector ··· 1331 1347 faadelays 1332 1348 ]; 1333 1349 "facebook" = ps: with ps; [ 1334 - ]; 1335 - "facebox" = ps: with ps; [ 1336 1350 ]; 1337 1351 "fail2ban" = ps: with ps; [ 1338 1352 ]; ··· 1787 1801 webrtc-noise-gain 1788 1802 zeroconf 1789 1803 ]; 1804 + "govee_light_local" = ps: with ps; [ 1805 + aiohttp-cors 1806 + aiohttp-fast-url-dispatcher 1807 + aiohttp-zlib-ng 1808 + fnv-hash-fast 1809 + ifaddr 1810 + psutil-home-assistant 1811 + sqlalchemy 1812 + ]; # missing inputs: govee-local-api 1790 1813 "gpsd" = ps: with ps; [ 1791 1814 gps3 1792 1815 ]; ··· 1898 1921 "hive" = ps: with ps; [ 1899 1922 pyhiveapi 1900 1923 ]; 1924 + "hko" = ps: with ps; [ 1925 + ]; # missing inputs: hko 1901 1926 "hlk_sw16" = ps: with ps; [ 1902 1927 hlk-sw16 1903 1928 ]; ··· 1915 1940 sqlalchemy 1916 1941 ]; 1917 1942 "home_plus_control" = ps: with ps; [ 1918 - aiohttp-cors 1919 - aiohttp-fast-url-dispatcher 1920 - aiohttp-zlib-ng 1921 - homepluscontrol 1922 1943 ]; 1923 1944 "homeassistant" = ps: with ps; [ 1924 1945 ]; ··· 2107 2128 aiopvapi 2108 2129 ]; 2109 2130 "hurrican_shutters_wholesale" = ps: with ps; [ 2131 + ]; 2132 + "huum" = ps: with ps; [ 2133 + huum 2110 2134 ]; 2111 2135 "hvv_departures" = ps: with ps; [ 2112 2136 pygti ··· 2542 2566 ]; 2543 2567 "lacrosse_view" = ps: with ps; [ 2544 2568 ]; # missing inputs: lacrosse-view 2569 + "lamarzocco" = ps: with ps; [ 2570 + lmcloud 2571 + ]; 2545 2572 "lametric" = ps: with ps; [ 2546 2573 aiohttp-cors 2547 2574 aiohttp-fast-url-dispatcher ··· 2608 2635 webrtc-noise-gain 2609 2636 zeroconf 2610 2637 ]; 2638 + "leaone" = ps: with ps; [ 2639 + aioesphomeapi 2640 + aiohttp-cors 2641 + aiohttp-fast-url-dispatcher 2642 + aiohttp-zlib-ng 2643 + aioruuvigateway 2644 + aioshelly 2645 + bleak 2646 + bleak-esphome 2647 + bleak-retry-connector 2648 + bluetooth-adapters 2649 + bluetooth-auto-recovery 2650 + bluetooth-data-tools 2651 + dbus-fast 2652 + esphome-dashboard-api 2653 + fnv-hash-fast 2654 + ha-ffmpeg 2655 + habluetooth 2656 + hassil 2657 + home-assistant-intents 2658 + ifaddr 2659 + mutagen 2660 + psutil-home-assistant 2661 + pyserial 2662 + pyudev 2663 + sqlalchemy 2664 + webrtc-noise-gain 2665 + zeroconf 2666 + ]; # missing inputs: leaone-ble 2611 2667 "led_ble" = ps: with ps; [ 2612 2668 aioesphomeapi 2613 2669 aiohttp-cors ··· 2650 2706 aiopyarr 2651 2707 ]; 2652 2708 "life360" = ps: with ps; [ 2653 - life360 2654 2709 ]; 2655 2710 "lifx" = ps: with ps; [ 2656 2711 aiohttp-cors ··· 2962 3017 "meteoclimatic" = ps: with ps; [ 2963 3018 pymeteoclimatic 2964 3019 ]; 2965 - "metoffice" = ps: with ps; [ 2966 - datapoint 2967 - ]; 2968 3020 "mfi" = ps: with ps; [ 2969 3021 ]; # missing inputs: mficlient 2970 3022 "microsoft" = ps: with ps; [ ··· 3211 3263 "mythicbeastsdns" = ps: with ps; [ 3212 3264 mbddns 3213 3265 ]; 3266 + "myuplink" = ps: with ps; [ 3267 + aiohttp-cors 3268 + aiohttp-fast-url-dispatcher 3269 + aiohttp-zlib-ng 3270 + fnv-hash-fast 3271 + psutil-home-assistant 3272 + sqlalchemy 3273 + ]; # missing inputs: myuplink 3214 3274 "nad" = ps: with ps; [ 3215 3275 nad-receiver 3216 3276 ]; ··· 3884 3944 "qwikswitch" = ps: with ps; [ 3885 3945 pyqwikswitch 3886 3946 ]; 3947 + "rabbitair" = ps: with ps; [ 3948 + aiohttp-cors 3949 + aiohttp-fast-url-dispatcher 3950 + aiohttp-zlib-ng 3951 + fnv-hash-fast 3952 + ifaddr 3953 + psutil-home-assistant 3954 + python-rabbitair 3955 + sqlalchemy 3956 + zeroconf 3957 + ]; 3887 3958 "rachio" = ps: with ps; [ 3888 3959 aiohttp-cors 3889 3960 aiohttp-fast-url-dispatcher ··· 3920 3991 aioeagle 3921 3992 eagle100 3922 3993 ]; 3994 + "rainforest_raven" = ps: with ps; [ 3995 + aiohttp-cors 3996 + aiohttp-fast-url-dispatcher 3997 + aiohttp-zlib-ng 3998 + fnv-hash-fast 3999 + psutil-home-assistant 4000 + pyserial 4001 + pyudev 4002 + sqlalchemy 4003 + ]; # missing inputs: aioraven 3923 4004 "rainmachine" = ps: with ps; [ 3924 4005 regenmaschine 3925 4006 ]; ··· 4079 4160 "roku" = ps: with ps; [ 4080 4161 rokuecp 4081 4162 ]; 4163 + "romy" = ps: with ps; [ 4164 + ]; # missing inputs: romy 4082 4165 "roomba" = ps: with ps; [ 4083 4166 roombapy 4084 4167 ]; ··· 4826 4909 tank-utility 4827 4910 ]; 4828 4911 "tankerkoenig" = ps: with ps; [ 4829 - pytankerkoenig 4830 - ]; 4912 + ]; # missing inputs: aiotankerkoenig 4831 4913 "tapsaff" = ps: with ps; [ 4832 4914 ]; # missing inputs: tapsaff 4833 4915 "tasmota" = ps: with ps; [ ··· 4843 4925 ]; 4844 4926 "tcp" = ps: with ps; [ 4845 4927 ]; 4928 + "technove" = ps: with ps; [ 4929 + ]; # missing inputs: python-technove 4846 4930 "ted5000" = ps: with ps; [ 4847 4931 xmltodict 4932 + ]; 4933 + "tedee" = ps: with ps; [ 4934 + aiohttp-cors 4935 + aiohttp-fast-url-dispatcher 4936 + aiohttp-zlib-ng 4937 + pytedee-async 4848 4938 ]; 4849 4939 "telegram" = ps: with ps; [ 4850 4940 aiohttp-cors ··· 4880 4970 ]; # missing inputs: tf-models-official 4881 4971 "tesla_wall_connector" = ps: with ps; [ 4882 4972 tesla-wall-connector 4973 + ]; 4974 + "teslemetry" = ps: with ps; [ 4975 + tesla-fleet-api 4883 4976 ]; 4884 4977 "tessie" = ps: with ps; [ 4885 4978 ]; # missing inputs: tessie-api ··· 5085 5178 "tplink_omada" = ps: with ps; [ 5086 5179 tplink-omada-client 5087 5180 ]; 5181 + "tplink_tapo" = ps: with ps; [ 5182 + ]; 5088 5183 "traccar" = ps: with ps; [ 5089 5184 aiohttp-cors 5090 5185 aiohttp-fast-url-dispatcher 5091 5186 aiohttp-zlib-ng 5092 5187 pytraccar 5093 5188 stringcase 5189 + ]; 5190 + "traccar_server" = ps: with ps; [ 5191 + pytraccar 5094 5192 ]; 5095 5193 "trace" = ps: with ps; [ 5096 5194 ]; ··· 5133 5231 ]; 5134 5232 "tuya" = ps: with ps; [ 5135 5233 ha-ffmpeg 5136 - tuya-iot-py-sdk 5137 - ]; 5234 + ]; # missing inputs: tuya-device-sharing-sdk 5138 5235 "twentemilieu" = ps: with ps; [ 5139 5236 twentemilieu 5140 5237 ]; ··· 5891 5988 "enocean" 5892 5989 "enphase_envoy" 5893 5990 "environment_canada" 5991 + "epion" 5894 5992 "epson" 5895 5993 "escea" 5896 5994 "esphome" ··· 5901 5999 "ezviz" 5902 6000 "faa_delays" 5903 6001 "facebook" 5904 - "facebox" 5905 6002 "fail2ban" 5906 6003 "fan" 5907 6004 "feedreader" ··· 5972 6069 "google_travel_time" 5973 6070 "google_wifi" 5974 6071 "govee_ble" 6072 + "gpsd" 5975 6073 "gpslogger" 5976 6074 "graphite" 5977 6075 "gree" ··· 5995 6093 "hlk_sw16" 5996 6094 "holiday" 5997 6095 "home_connect" 5998 - "home_plus_control" 5999 6096 "homeassistant" 6000 6097 "homeassistant_alerts" 6001 6098 "homeassistant_green" ··· 6015 6112 "huisbaasje" 6016 6113 "humidifier" 6017 6114 "hunterdouglas_powerview" 6115 + "huum" 6018 6116 "hvv_departures" 6019 6117 "hydrawise" 6020 6118 "hyperion" ··· 6065 6163 "kostal_plenticore" 6066 6164 "kraken" 6067 6165 "kulersky" 6166 + "lamarzocco" 6068 6167 "lametric" 6069 6168 "landisgyr_heat_meter" 6070 6169 "lastfm" ··· 6096 6195 "loqed" 6097 6196 "lovelace" 6098 6197 "luftdaten" 6198 + "lupusec" 6199 + "lutron" 6099 6200 "lutron_caseta" 6100 6201 "lyric" 6101 6202 "mailbox" ··· 6116 6217 "met_eireann" 6117 6218 "meteo_france" 6118 6219 "meteoclimatic" 6119 - "metoffice" 6120 6220 "microsoft_face" 6121 6221 "microsoft_face_detect" 6122 6222 "microsoft_face_identify" ··· 6244 6344 "qnap" 6245 6345 "qnap_qsw" 6246 6346 "qwikswitch" 6347 + "rabbitair" 6247 6348 "rachio" 6248 6349 "radarr" 6249 6350 "radio_browser" ··· 6382 6483 "tag" 6383 6484 "tailscale" 6384 6485 "tailwind" 6385 - "tankerkoenig" 6386 6486 "tasmota" 6387 6487 "tautulli" 6388 6488 "tcp" 6489 + "tedee" 6389 6490 "telegram" 6390 6491 "telegram_bot" 6391 6492 "tellduslive" 6392 6493 "temper" 6393 6494 "template" 6394 6495 "tesla_wall_connector" 6496 + "teslemetry" 6395 6497 "text" 6396 6498 "thermobeacon" 6397 6499 "thermopro" ··· 6414 6516 "tplink" 6415 6517 "tplink_omada" 6416 6518 "traccar" 6519 + "traccar_server" 6417 6520 "trace" 6418 6521 "tractive" 6419 6522 "tradfri" ··· 6425 6528 "transport_nsw" 6426 6529 "trend" 6427 6530 "tts" 6428 - "tuya" 6429 6531 "twentemilieu" 6430 6532 "twilio" 6431 6533 "twinkly"
+26 -80
pkgs/servers/home-assistant/default.nix
··· 90 90 hash = "sha256-YmJH4brWkTpgzyHwu9UnIWrY5qlDCmMtvF+KxQFXwfk="; 91 91 }; 92 92 postPatch = '' 93 - substituteInPlace pyproject.toml --replace \ 93 + substituteInPlace pyproject.toml --replace-fail \ 94 94 '"setuptools >= 35.0.2", "wheel >= 0.29.0", "poetry>=0.12"' \ 95 95 '"poetry-core"' 96 96 ''; ··· 125 125 hash = "sha256-tWnxGLJT+CRFvkhxFamHxnLXBvoR8tfOvzH1o1i5JJg="; 126 126 }; 127 127 postPatch = '' 128 - substituteInPlace pyproject.toml --replace \ 128 + substituteInPlace pyproject.toml --replace-fail \ 129 129 '"setuptools >= 35.0.2", "wheel >= 0.29.0", "poetry>=0.12"' \ 130 130 '"poetry-core"' 131 131 ''; 132 132 }); 133 133 134 - amberelectric = super.amberelectric.overridePythonAttrs (oldAttrs: rec { 135 - version = "1.0.4"; 136 - src = fetchPypi { 137 - inherit (oldAttrs) pname; 138 - inherit version; 139 - hash = "sha256-5SWJnTxRm6mzP0RxrgA+jnV+Gp23WjqQA57wbT2V9Dk="; 140 - }; 141 - }); 142 - 143 134 anova-wifi = super.anova-wifi.overridePythonAttrs (old: rec { 144 135 version = "0.10.3"; 145 136 src = fetchFromGitHub { ··· 159 150 }; 160 151 postPatch = '' 161 152 substituteInPlace pyproject.toml \ 162 - --replace "poetry>=1.0.0b1" "poetry-core" \ 163 - --replace "poetry.masonry" "poetry.core.masonry" 153 + --replace-fail "poetry>=1.0.0b1" "poetry-core" \ 154 + --replace-fail "poetry.masonry" "poetry.core.masonry" 164 155 ''; 165 156 propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ 166 157 self.pytz ··· 216 207 }; 217 208 }); 218 209 219 - justnimbus = super.justnimbus.overridePythonAttrs (oldAttrs: rec { 220 - version = "0.6.0"; 210 + lxml = super.lxml.overridePythonAttrs (oldAttrs: rec { 211 + version = "5.1.0"; 212 + pyprojet = true; 213 + 221 214 src = fetchFromGitHub { 222 - owner = "kvanzuijlen"; 223 - repo = "justnimbus"; 224 - rev = "refs/tags/${version}"; 225 - hash = "sha256-uQ5Nc5sxqHeAuavyfX4Q6Umsd54aileJjFwOOU6X7Yg="; 215 + owner = "lxml"; 216 + repo = "lxml"; 217 + rev = "refs/tags/lxml-${version}"; 218 + hash = "sha256-eWLYzZWatYDmhuBTZynsdytlNFKKmtWQ1XIyzVD8sDY="; 226 219 }; 220 + 221 + nativeBuildInputs = with self; [ 222 + cython_3 223 + setuptools 224 + libxml2.dev 225 + libxslt.dev 226 + ]; 227 + 228 + patches = []; 227 229 }); 228 230 229 231 notifications-android-tv = super.notifications-android-tv.overridePythonAttrs (oldAttrs: rec { ··· 321 323 }; 322 324 }); 323 325 324 - pydrawise = super.pydrawise.overridePythonAttrs (oldAttrs: rec { 325 - version = "2023.11.0"; 326 - src = fetchFromGitHub { 327 - owner = "dknowles2"; 328 - repo = "pydrawise"; 329 - rev = "refs/tags/${version}"; 330 - hash = "sha256-gKOyTvdETGzKlpU67UKaHYTIvnAX9znHIynP3BiVbt4="; 331 - }; 332 - }); 333 - 334 326 pykaleidescape = super.pykaleidescape.overridePythonAttrs (oldAttrs: rec { 335 327 version = "1.0.1"; 336 328 src = fetchFromGitHub { ··· 350 342 }; 351 343 }); 352 344 353 - python-kasa = super.python-kasa.overridePythonAttrs (oldAttrs: rec { 354 - version = "0.5.4"; 355 - src = fetchFromGitHub { 356 - owner = "python-kasa"; 357 - repo = "python-kasa"; 358 - rev = "refs/tags/${version}"; 359 - hash = "sha256-wGPMrYaTtKkkNW88eyiiciFcBSTRqqChYi6e15WUCHo="; 360 - }; 361 - }); 362 - 363 - python-roborock = super.python-roborock.overridePythonAttrs (oldAttrs: rec { 364 - version = "0.38.0"; 365 - src = fetchFromGitHub { 366 - owner = "humbertogontijo"; 367 - repo = "python-roborock"; 368 - rev = "refs/tags/v${version}"; 369 - hash = "sha256-jYESUMhLb5oiM3PWIIIU4dn/waGUnCAaXe0URnIq0C8="; 370 - }; 371 - }); 372 - 373 - python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec { 374 - pname = "python-slugify"; 375 - version = "4.0.1"; 376 - src = fetchPypi { 377 - inherit pname version; 378 - hash = "sha256-aaUXdm4AwSaOW7/A0BCgqFCN4LGNMK1aH/NX+K5yQnA="; 379 - }; 380 - }); 381 - 382 345 pytradfri = super.pytradfri.overridePythonAttrs (oldAttrs: rec { 383 346 version = "9.0.1"; 384 347 src = fetchFromGitHub { ··· 389 352 }; 390 353 }); 391 354 392 - tesla-powerwall = super.tesla-powerwall.overridePythonAttrs (oldAttrs: rec { 393 - version = "0.3.19"; 394 - src = fetchFromGitHub { 395 - owner = "jrester"; 396 - repo = "tesla_powerwall"; 397 - rev = "refs/tags/v${version}"; 398 - hash = "sha256-ClrMgPAMBtDMfD6hCJIN1u4mp75QW+c3re28v3FreQg="; 399 - }; 400 - }); 401 - 402 355 versioningit = super.versioningit.overridePythonAttrs (oldAttrs: rec { 403 356 version = "2.2.0"; 404 357 src = fetchPypi { ··· 483 436 extraBuildInputs = extraPackages python.pkgs; 484 437 485 438 # Don't forget to run parse-requirements.py after updating 486 - hassVersion = "2024.1.6"; 439 + hassVersion = "2024.2.1"; 487 440 488 441 in python.pkgs.buildPythonApplication rec { 489 442 pname = "homeassistant"; ··· 501 454 owner = "home-assistant"; 502 455 repo = "core"; 503 456 rev = "refs/tags/${version}"; 504 - hash = "sha256-zCpdOl16ZkO9mr0nYZg1mlnGNaPaX0RALFEDRHGfKvM="; 457 + hash = "sha256-PtBDSxl0744rytMeMOTAj60eERzANzD2dyd4sPivgqQ="; 505 458 }; 506 459 507 460 # Secondary source is pypi sdist for translations 508 461 sdist = fetchPypi { 509 462 inherit pname version; 510 - hash = "sha256-ipAw+vqePa5KA/Gqhl3WsQbzmzMXjmVx0NvbrM84SKg="; 463 + hash = "sha256-iLCHoDfZ1gz+LxNxIiKNsSDaL2Taq8B3Huu000eXSxc="; 511 464 }; 512 465 513 466 nativeBuildInputs = with python.pkgs; [ ··· 516 469 ]; 517 470 518 471 pythonRelaxDeps = [ 519 - "awesomeversion" 472 + "attrs" 520 473 "ciso8601" 521 - "cryptography" 522 - "home-assistant-bluetooth" 523 - "httpx" 524 - "jinja2" 525 - "lru-dict" 526 474 "orjson" 527 475 "pyopenssl" 528 476 "typing-extensions" 529 477 "urllib3" 530 - "voluptuous" 531 - "yarl" 532 478 ]; 533 479 534 480 # extract translations from pypi sdist ··· 549 495 ]; 550 496 551 497 postPatch = '' 552 - substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"' 498 + substituteInPlace tests/test_config.py --replace-fail '"/usr"' '"/build/media"' 553 499 554 500 sed -i 's/setuptools[~=]/setuptools>/' pyproject.toml 555 501 sed -i 's/wheel[~=]/wheel>/' pyproject.toml
+2 -2
pkgs/servers/home-assistant/frontend.nix
··· 4 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 6 pname = "home-assistant-frontend"; 7 - version = "20240104.0"; 7 + version = "20240207.1"; 8 8 format = "wheel"; 9 9 10 10 src = fetchPypi { ··· 12 12 pname = "home_assistant_frontend"; 13 13 dist = "py3"; 14 14 python = "py3"; 15 - hash = "sha256-AQkrnU5UKsrl02CXDNf/aMTPII39poWJoZ4nBpySTZE="; 15 + hash = "sha256-uGBVha7nJvYua1rZXlIJGhUzEm5wSrhazrOBUi3omJk="; 16 16 }; 17 17 18 18 # there is nothing to strip in this package
+11 -43
pkgs/servers/home-assistant/intents.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitHub 3 + , fetchPypi 4 4 , pythonOlder 5 5 6 - # build 7 - , hassil 8 - , jinja2 9 - , pyyaml 10 - , regex 11 - , voluptuous 12 - , python 6 + # build-system 13 7 , setuptools 14 - , wheel 15 - 16 - # tests 17 - , pytest-xdist 18 - , pytestCheckHook 19 8 }: 20 9 21 10 buildPythonPackage rec { 22 11 pname = "home-assistant-intents"; 23 - version = "2024.1.2"; 12 + version = "2024.2.2"; 24 13 format = "pyproject"; 25 14 26 15 disabled = pythonOlder "3.9"; 27 16 28 - src = fetchFromGitHub { 29 - owner = "home-assistant"; 30 - repo = "intents-package"; 31 - rev = "refs/tags/${version}"; 32 - hash = "sha256-uOrSvkzymG31nRmAgrn6z1IDJWahxqXHcPDflLPRVT4="; 33 - fetchSubmodules = true; 17 + src = fetchPypi { 18 + inherit pname version; 19 + hash = "sha256-Tb9ZZvs5Wyzm2TS5INUSua4Y3/2H+kHEhjpfYWJi+d0="; 34 20 }; 35 21 36 22 postPatch = '' 37 - substituteInPlace pyproject.toml --replace 'requires = ["setuptools~=62.3", "wheel~=0.37.1"]' 'requires = ["setuptools", "wheel"]' 23 + substituteInPlace pyproject.toml --replace-fail \ 24 + 'requires = ["setuptools~=62.3", "wheel~=0.37.1"]' \ 25 + 'requires = ["setuptools"]' 38 26 ''; 39 27 40 28 nativeBuildInputs = [ 41 - hassil 42 - jinja2 43 - pyyaml 44 - regex 45 29 setuptools 46 - wheel 47 - voluptuous 48 30 ]; 49 31 50 - postInstall = '' 51 - pushd intents 52 - # https://github.com/home-assistant/intents/blob/main/script/package#L18 53 - ${python.pythonOnBuildForHost.interpreter} -m script.intentfest merged_output $out/${python.sitePackages}/home_assistant_intents/data 54 - popd 55 - ''; 56 - 57 - checkInputs = [ 58 - pytest-xdist 59 - pytestCheckHook 60 - ]; 32 + # sdist does not ship tests 33 + doCheck = false; 61 34 62 35 pytestFlagsArray = [ 63 36 "intents/tests" 64 - ]; 65 - 66 - disabledTests = [ 67 - # AssertionError: Recognition failed for 'put apples on the list' 68 - "test_shopping_list_HassShoppingListAddItem" 69 37 ]; 70 38 71 39 meta = with lib; {
+3 -3
pkgs/servers/home-assistant/stubs.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "homeassistant-stubs"; 11 - version = "2024.1.6"; 11 + version = "2024.2.1"; 12 12 format = "pyproject"; 13 13 14 14 disabled = python.version != home-assistant.python.version; ··· 17 17 owner = "KapJI"; 18 18 repo = "homeassistant-stubs"; 19 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-htFz3Cw5AvI1h2YvECOJdMA4N3JAQRRRhx1tfR4h5co="; 20 + hash = "sha256-1a2iwyRyXOD8iaTzdnEGfwCgw6dU2bV1iWpoD7s35QI="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ ··· 27 27 28 28 postPatch = '' 29 29 # Relax constraint to year and month 30 - substituteInPlace pyproject.toml --replace \ 30 + substituteInPlace pyproject.toml --replace-fail \ 31 31 'homeassistant = "${version}"' \ 32 32 'homeassistant = "~${lib.versions.majorMinor home-assistant.version}"' 33 33 '';
+5 -11
pkgs/tools/audio/wyoming/faster-whisper.nix
··· 6 6 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "wyoming-faster-whisper"; 9 - version = "1.0.2"; 9 + version = "1.1.0"; 10 10 pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "rhasspy"; 14 14 repo = "wyoming-faster-whisper"; 15 15 rev = "refs/tags/v${version}"; 16 - hash = "sha256-mKnWab3i6lEnCBbO3ucNmWIxaaWwQagzfDhaD1U3qow="; 16 + hash = "sha256-RD6J/Q7kvd+sgTpR6ERyV+D8gpm0fF38L3U/Jp7gOgk="; 17 17 }; 18 18 19 19 patches = [ 20 - # add wyoming-faster-whisper executable 21 20 (fetchpatch { 22 - url = "https://github.com/rhasspy/wyoming-faster-whisper/commit/a5715197abab34253d2864ed8cf406210834b4ec.patch"; 23 - hash = "sha256-a9gmXMngwXo9ZJDbxl/pPzm6WSy5XeGbz/Xncj7bOog="; 24 - }) 25 - 26 - # fix model retrieval on python3.11+ 27 - (fetchpatch { 28 - url = "https://github.com/rhasspy/wyoming-faster-whisper/commit/d5229df2c3af536013bc931c1ed7cc239b618208.patch"; 29 - hash = "sha256-CMpOJ1qSPcdtX2h2ecGmQ/haus/gaSH8r/PCFsMChRY="; 21 + # fix setup.py 22 + url = "https://github.com/rhasspy/wyoming-faster-whisper/commit/cdd1536997a091dcf9054da9ff424a2603067755.patch"; 23 + hash = "sha256-LGYo21FhKGXcAN9DjXzwIRqkOzTz3suXiQdgGrJSDBw="; 30 24 }) 31 25 ]; 32 26