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