diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix index 0420eb86d5e8..ce2cf17fab56 100644 --- a/nixos/tests/home-assistant.nix +++ b/nixos/tests/home-assistant.nix @@ -85,7 +85,6 @@ in # include some popular integrations, that absolutely shouldn't break knx = { }; - shelly = { }; zha = { }; # set up a wake-on-lan switch to test capset capability required @@ -108,7 +107,7 @@ in # https://www.home-assistant.io/integrations/logger/ logger = { - default = "info"; + default = "debug"; }; }; diff --git a/pkgs/development/python-modules/aiocomelit/default.nix b/pkgs/development/python-modules/aiocomelit/default.nix index dcb9bd041c1d..23d5ebfa7aa1 100644 --- a/pkgs/development/python-modules/aiocomelit/default.nix +++ b/pkgs/development/python-modules/aiocomelit/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "aiocomelit"; - version = "0.11.1"; + version = "0.11.3"; pyproject = true; disabled = pythonOlder "3.12"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "chemelli74"; repo = "aiocomelit"; tag = "v${version}"; - hash = "sha256-1iXfqLxZVrw9A3W7K34pPolbwdrFPSj0zXTJT7mgpYs="; + hash = "sha256-Hl5yUEtBFfx+p2WQssI7M+TgEiO5VvgIdWoFZMCjCUY="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index 8ae6e3a00ac5..3f5e661d508c 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "aioesphomeapi"; - version = "29.4.0"; + version = "29.8.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "esphome"; repo = "aioesphomeapi"; tag = "v${version}"; - hash = "sha256-KBQYLaE2J/5/VYquajknF3gCJEwRENjgkxiZahqnRZA="; + hash = "sha256-hX0OOgLnaZOreBfb8ptNkNLzUn+S38/84DfJD423RAM="; }; build-system = [ diff --git a/pkgs/development/python-modules/bellows/default.nix b/pkgs/development/python-modules/bellows/default.nix index 6d5328814ac7..301f22512cf8 100644 --- a/pkgs/development/python-modules/bellows/default.nix +++ b/pkgs/development/python-modules/bellows/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "bellows"; - version = "0.43.0"; + version = "0.44.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "bellows"; tag = version; - hash = "sha256-RbhFvoNYR4wHKKbbMKLP4Dsx0pIJnwBOP49waRHg0qk="; + hash = "sha256-9CuZGorTqay09ZHrUDoorYew8vvDV6pyxMuik7/QKJ4="; }; postPatch = '' diff --git a/pkgs/development/python-modules/bleak-esphome/default.nix b/pkgs/development/python-modules/bleak-esphome/default.nix index 88f21c0273b6..cbf1c6dc8dbf 100644 --- a/pkgs/development/python-modules/bleak-esphome/default.nix +++ b/pkgs/development/python-modules/bleak-esphome/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "bleak-esphome"; - version = "2.11.0"; + version = "2.12.0"; pyproject = true; src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "bleak-esphome"; tag = "v${version}"; - hash = "sha256-5APHpb2h//krpgVJs6pOPLapGZFzbFKNjFxDqpNyApQ="; + hash = "sha256-dR4KuaJWrWTVDWY11E/MRF12jCvOlC8c2flDOnkPjxw="; }; postPatch = '' diff --git a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix index 068bcb17b089..877565fdb7c4 100644 --- a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +++ b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "bluetooth-auto-recovery"; - version = "1.4.4"; + version = "1.4.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "bluetooth-auto-recovery"; tag = "v${version}"; - hash = "sha256-Sm3VLgWttMVXH+s1m1ab8kE6dHPit0GY4FVAld5Yg88="; + hash = "sha256-yh0Gf8veT5VCk05Y7QyxoCz0NHnVRj8HJLTbnvi+9C8="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/dbus-fast/default.nix b/pkgs/development/python-modules/dbus-fast/default.nix index 49d9a1d4c7e0..2597b09d8eb4 100644 --- a/pkgs/development/python-modules/dbus-fast/default.nix +++ b/pkgs/development/python-modules/dbus-fast/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "dbus-fast"; - version = "2.33.0"; + version = "2.44.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "dbus-fast"; tag = "v${version}"; - hash = "sha256-U6NAEhoEcphAuvaAA2en4Ka4yFHiKPINl5CvtxE7FaI="; + hash = "sha256-r9F/3H/Bagi9QJHZDEsa80dglVE9vS1f9Cqt7CZWn8Y="; }; # The project can build both an optimized cython version and an unoptimized diff --git a/pkgs/development/python-modules/fyta-cli/default.nix b/pkgs/development/python-modules/fyta-cli/default.nix index edbd7f92a62f..75c6d6e7c1f1 100644 --- a/pkgs/development/python-modules/fyta-cli/default.nix +++ b/pkgs/development/python-modules/fyta-cli/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "fyta-cli"; - version = "0.7.0"; + version = "0.7.2"; pyproject = true; disabled = pythonOlder "3.11"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "dontinelli"; repo = "fyta_cli"; tag = "v${version}"; - hash = "sha256-OgpQh7WyZynFd308TjIGkQNoy8TFu9gynbDiLueqB/0="; + hash = "sha256-YYH15ZuRZirSFC7No1goY/afk2BGtCCykcZAnCDdq7U="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/gios/default.nix b/pkgs/development/python-modules/gios/default.nix index 11f83067ee54..9272dcd18b06 100644 --- a/pkgs/development/python-modules/gios/default.nix +++ b/pkgs/development/python-modules/gios/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "gios"; - version = "5.0.0"; + version = "6.0.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "bieniu"; repo = "gios"; tag = version; - hash = "sha256-J+LCu7wMuc3dYghvkKq58GcBAa76X5IPUWe7qCQwjjI="; + hash = "sha256-SCVyEHxTV+6+3mLh8HEutRXHV2Xt0JzOrNnIKtIcFXw="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/ha-silabs-firmware-client/default.nix b/pkgs/development/python-modules/ha-silabs-firmware-client/default.nix new file mode 100644 index 000000000000..2264a9a20d2f --- /dev/null +++ b/pkgs/development/python-modules/ha-silabs-firmware-client/default.nix @@ -0,0 +1,54 @@ +{ + aiohttp, + aioresponses, + buildPythonPackage, + fetchFromGitHub, + lib, + pytestCheckHook, + pythonOlder, + setuptools, + yarl, +}: + +buildPythonPackage rec { + pname = "ha-silabs-firmware-client"; + version = "0.2.0"; + pyproject = true; + + disabled = pythonOlder "3.13"; + + src = fetchFromGitHub { + owner = "home-assistant-libs"; + repo = "ha-silabs-firmware-client"; + tag = "v${version}"; + hash = "sha256-Kip9JL9tuF7OI22elN0w2Z7Xjdaayboo8LThp4FAets="; + }; + + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail ', "setuptools-git-versioning<3"' "" \ + --replace-fail 'dynamic = ["version"]' 'version = "${version}"' + ''; + + build-system = [ setuptools ]; + + dependencies = [ + aiohttp + yarl + ]; + + pythonImportsCheck = [ "ha_silabs_firmware_client" ]; + + nativeCheckInputs = [ + aioresponses + pytestCheckHook + ]; + + meta = { + changelog = "https://github.com/home-assistant-libs/ha-silabs-firmware-client/releases/tag/${src.tag}"; + description = "Home Assistant client for firmwares released with silabs-firmware-builder"; + homepage = "https://github.com/home-assistant-libs/ha-silabs-firmware-client"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/development/python-modules/habluetooth/default.nix b/pkgs/development/python-modules/habluetooth/default.nix index 92db13c51c0f..010934f47b71 100644 --- a/pkgs/development/python-modules/habluetooth/default.nix +++ b/pkgs/development/python-modules/habluetooth/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "habluetooth"; - version = "3.25.0"; + version = "3.38.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "habluetooth"; tag = "v${version}"; - hash = "sha256-+3AcxRkTU61MuUGL+dc6ETn3poDatHGr6hWN9b+cVc8="; + hash = "sha256-eqsWm5g/D94NgoBbfh3uudcUOs4aekg4nHw2fODtTOA="; }; build-system = [ diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix index 930cdc526631..4ce17430f524 100644 --- a/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -23,16 +23,16 @@ buildPythonPackage rec { pname = "hass-nabucasa"; - version = "0.92.0"; + version = "0.95.0"; pyproject = true; - disabled = pythonOlder "3.12"; + disabled = pythonOlder "3.13"; src = fetchFromGitHub { owner = "nabucasa"; repo = "hass-nabucasa"; tag = version; - hash = "sha256-OwU3HxUj8M3/3Xv+9WPNbV8sVVR8S9u9U3mSK/P+4o8="; + hash = "sha256-KSGEgMgZ0fHot7hfT0sDl/4aZOsWT8CE+R5ebCqhLAA="; }; pythonRelaxDeps = [ "acme" ]; diff --git a/pkgs/development/python-modules/hdate/default.nix b/pkgs/development/python-modules/hdate/default.nix index 689f0c586686..5a91b644479f 100644 --- a/pkgs/development/python-modules/hdate/default.nix +++ b/pkgs/development/python-modules/hdate/default.nix @@ -3,24 +3,25 @@ astral, buildPythonPackage, fetchFromGitHub, + hypothesis, + num2words, pdm-backend, + pytest-timeout, + pytest-xdist, pytestCheckHook, - pythonOlder, - pytz, + syrupy, }: buildPythonPackage rec { pname = "hdate"; - version = "0.11.1"; + version = "1.0.3"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "py-libhdate"; repo = "py-libhdate"; tag = "v${version}"; - hash = "sha256-Il20aKOPQi4J4hWQEMEQOnLdBSHCOu214YE6pxeYbfI="; + hash = "sha256-J2ZbfzQdQSlnwcygwapDKkvZIx2VrlaaRe244V8Zt5c="; }; pythonRelaxDeps = [ @@ -32,11 +33,20 @@ buildPythonPackage rec { ]; dependencies = [ - astral - pytz + num2words ]; - nativeCheckInputs = [ pytestCheckHook ]; + optional-dependencies = { + astral = [ astral ]; + }; + + nativeCheckInputs = [ + hypothesis + pytest-timeout + pytest-xdist + pytestCheckHook + syrupy + ]; pytestFlagsArray = [ "tests" ]; @@ -45,7 +55,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for Jewish/Hebrew date and Zmanim"; homepage = "https://github.com/py-libhdate/py-libhdate"; - changelog = "https://github.com/py-libhdate/py-libhdate/releases/tag/v${version}"; + changelog = "https://github.com/py-libhdate/py-libhdate/blob/${src.tag}/CHANGELOG.md"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/mastodon-py/default.nix b/pkgs/development/python-modules/mastodon-py/default.nix index cb2caaf45922..fc46268ecc6a 100644 --- a/pkgs/development/python-modules/mastodon-py/default.nix +++ b/pkgs/development/python-modules/mastodon-py/default.nix @@ -9,8 +9,8 @@ python-dateutil, python-magic, requests, - six, pytestCheckHook, + pytest-cov-stub, pytest-mock, pytest-vcr, requests-mock, @@ -19,29 +19,24 @@ buildPythonPackage rec { pname = "mastodon-py"; - version = "1.8.1"; + version = "2.0.1"; pyproject = true; src = fetchFromGitHub { owner = "halcy"; repo = "Mastodon.py"; - tag = version; - hash = "sha256-r0AAUjd2MBfZANEpyztMNyaQTlGWvWoUVjJNO1eL218="; + tag = "v${version}"; + hash = "sha256-Sqvn7IIzkGnIjMGek1QS4pLXI+LoKykJsVnr/X1QH7U="; }; - postPatch = '' - sed -i '/addopts/d' setup.cfg - ''; + build-system = [ setuptools ]; - nativeBuildInputs = [ setuptools ]; - - propagatedBuildInputs = [ + dependencies = [ blurhash decorator python-dateutil python-magic requests - six ]; optional-dependencies = { @@ -54,10 +49,10 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-cov-stub pytest-mock pytest-vcr requests-mock - setuptools ] ++ lib.flatten (builtins.attrValues optional-dependencies); disabledTests = [ @@ -70,7 +65,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "mastodon" ]; meta = with lib; { - changelog = "https://github.com/halcy/Mastodon.py/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/halcy/Mastodon.py/blob/${src.tag}/CHANGELOG.rst"; description = "Python wrapper for the Mastodon API"; homepage = "https://github.com/halcy/Mastodon.py"; license = licenses.mit; diff --git a/pkgs/development/python-modules/meteofrance-api/default.nix b/pkgs/development/python-modules/meteofrance-api/default.nix index 9894770ae392..7435395da31a 100644 --- a/pkgs/development/python-modules/meteofrance-api/default.nix +++ b/pkgs/development/python-modules/meteofrance-api/default.nix @@ -8,35 +8,27 @@ pytz, requests, requests-mock, - typing-extensions, - urllib3, }: buildPythonPackage rec { pname = "meteofrance-api"; - version = "1.3.0"; + version = "1.4.0"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "hacf-fr"; repo = "meteofrance-api"; tag = "v${version}"; - hash = "sha256-uSrVK6LwCDyvsjzGl4xQd8585Hl6sp2Ua9ly0wqnC1Y="; + hash = "sha256-5zqmzPbzC9IUZ+y1FRh+u1gds/ZdGeRm5/ajQf8UKTQ="; }; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - pythonRelaxDeps = [ "urllib3" ]; - - propagatedBuildInputs = [ + dependencies = [ pytz requests - typing-extensions - urllib3 ]; nativeCheckInputs = [ @@ -64,10 +56,10 @@ buildPythonPackage rec { meta = with lib; { description = "Module to access information from the Meteo-France API"; - mainProgram = "meteofrance-api"; homepage = "https://github.com/hacf-fr/meteofrance-api"; changelog = "https://github.com/hacf-fr/meteofrance-api/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "meteofrance-api"; }; } diff --git a/pkgs/development/python-modules/music-assistant-client/default.nix b/pkgs/development/python-modules/music-assistant-client/default.nix index a2f25196d412..4545ea5dd722 100644 --- a/pkgs/development/python-modules/music-assistant-client/default.nix +++ b/pkgs/development/python-modules/music-assistant-client/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "music-assistant-client"; - version = "1.1.1"; + version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "music-assistant"; repo = "client"; tag = version; - hash = "sha256-KAvNPG3gMJK/iWqen35UCmSccjOkvfrmMvx4YkrOPy8="; + hash = "sha256-i3VIRK3RUgbF5KX3U7i4WwjbLaRvg88zUH5Ly8BKEB0="; }; postPatch = '' diff --git a/pkgs/development/python-modules/music-assistant-models/default.nix b/pkgs/development/python-modules/music-assistant-models/default.nix index 8ade60f250bd..6cae3bad249d 100644 --- a/pkgs/development/python-modules/music-assistant-models/default.nix +++ b/pkgs/development/python-modules/music-assistant-models/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "music-assistant-models"; - version = "1.1.30"; # Must be compatible with music-assistant-client package + version = "1.1.43"; # Must be compatible with music-assistant-client package pyproject = true; src = fetchFromGitHub { owner = "music-assistant"; repo = "models"; tag = version; - hash = "sha256-ZLTRHarjVFAk+tYPkgLm192rE+C82vNzqs8PmJhGSeg="; + hash = "sha256-0SBNxpiBAKlAQe7eJTp+BwGNY52OTt37TksKrp9nfz4="; }; postPatch = '' diff --git a/pkgs/development/python-modules/nettigo-air-monitor/default.nix b/pkgs/development/python-modules/nettigo-air-monitor/default.nix index 9f2760721063..d818ec69c9a0 100644 --- a/pkgs/development/python-modules/nettigo-air-monitor/default.nix +++ b/pkgs/development/python-modules/nettigo-air-monitor/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "nettigo-air-monitor"; - version = "4.0.0"; + version = "4.1.0"; pyproject = true; disabled = pythonOlder "3.12"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "bieniu"; repo = "nettigo-air-monitor"; tag = version; - hash = "sha256-aYlnaFim4ezZ/nOAf1m6iIfE4NGswtEmPsslfrTd5tI="; + hash = "sha256-tGadB2v3UIgX/v3Cvx95bEOpoOtQXGizk24FelKpidc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/pushover-complete/default.nix b/pkgs/development/python-modules/pushover-complete/default.nix index 9b8a2e5f06d7..855be914b0c3 100644 --- a/pkgs/development/python-modules/pushover-complete/default.nix +++ b/pkgs/development/python-modules/pushover-complete/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchPypi, - isPy27, + setuptools, requests, six, pytestCheckHook, @@ -13,16 +13,17 @@ buildPythonPackage rec { pname = "pushover-complete"; version = "1.2.0"; - format = "setuptools"; - disabled = isPy27; + pyproject = true; src = fetchPypi { pname = "pushover_complete"; inherit version; - sha256 = "sha256-v0+JgShJMEdVXJ1xZD4UCKZzgV+uOuOstPn3nWtHDJw="; + hash = "sha256-v0+JgShJMEdVXJ1xZD4UCKZzgV+uOuOstPn3nWtHDJw="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ requests six ]; diff --git a/pkgs/development/python-modules/python-linkplay/default.nix b/pkgs/development/python-modules/python-linkplay/default.nix index 7d0f1849ea15..f2866b530c2f 100644 --- a/pkgs/development/python-modules/python-linkplay/default.nix +++ b/pkgs/development/python-modules/python-linkplay/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "python-linkplay"; - version = "0.2.1"; + version = "0.2.2"; pyproject = true; src = fetchFromGitHub { owner = "Velleman"; repo = "python-linkplay"; tag = "v${version}"; - hash = "sha256-R4swSS+aOAygGRUPoJhJSutx6JEaO+QS1IL6nWEBTnw="; + hash = "sha256-K5MDpMza5z3CYuGymXusZ5WMmmN/6rVxegiiO8RtOTc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/python-roborock/default.nix b/pkgs/development/python-modules/python-roborock/default.nix index 92aa4936b982..dffbe89f6264 100644 --- a/pkgs/development/python-modules/python-roborock/default.nix +++ b/pkgs/development/python-modules/python-roborock/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "python-roborock"; - version = "2.12.2"; + version = "2.16.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "humbertogontijo"; repo = "python-roborock"; tag = "v${version}"; - hash = "sha256-QAv4R4Nnn+BcPp0ktf7riKt+ZvaZTF5KI9sjjtDH3SY="; + hash = "sha256-zQlNBQm+dBmw+kydNlqJU1D0KKuywyuNCqm0/BslWi0="; }; postPatch = '' diff --git a/pkgs/development/python-modules/python-tado/default.nix b/pkgs/development/python-modules/python-tado/default.nix index 4f5e6b14ad6d..42ebdadce993 100644 --- a/pkgs/development/python-modules/python-tado/default.nix +++ b/pkgs/development/python-modules/python-tado/default.nix @@ -5,7 +5,6 @@ pytest-cov-stub, pytest-mock, pytestCheckHook, - pythonOlder, requests, responses, setuptools, @@ -13,16 +12,14 @@ buildPythonPackage rec { pname = "python-tado"; - version = "0.18.6"; + version = "0.18.9"; pyproject = true; - disabled = pythonOlder "3.5"; - src = fetchFromGitHub { owner = "wmalgadey"; repo = "PyTado"; tag = version; - hash = "sha256-pDT159TY1PEG3TLoIaNy5VVpIklclgOvFy4W5HKy7uM="; + hash = "sha256-zGz3ySD+7zkHY/+IS2Kfrp9Y64It+rrEF7ImwbZG7ks="; }; build-system = [ setuptools ]; @@ -50,7 +47,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "PyTado" ]; meta = with lib; { - description = "Python binding for Tado web API. Pythonize your central heating!"; + description = "Python binding for Tado web API"; homepage = "https://github.com/wmalgadey/PyTado"; changelog = "https://github.com/wmalgadey/PyTado/releases/tag/${src.tag}"; license = licenses.gpl3Plus; diff --git a/pkgs/development/python-modules/slixmpp/default.nix b/pkgs/development/python-modules/slixmpp/default.nix index cad4defb2dfb..1a7d410e790d 100644 --- a/pkgs/development/python-modules/slixmpp/default.nix +++ b/pkgs/development/python-modules/slixmpp/default.nix @@ -3,19 +3,23 @@ buildPythonPackage, aiodns, aiohttp, + cryptography, + defusedxml, + emoji, fetchPypi, gnupg, pyasn1, pyasn1-modules, pytestCheckHook, replaceVars, + rustPlatform, pythonOlder, }: buildPythonPackage rec { pname = "slixmpp"; version = "1.10.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -24,25 +28,47 @@ buildPythonPackage rec { hash = "sha256-RrxdAVB8tChcglXOXHF8C19o5U38HxcSiDmY1tciV4o="; }; - propagatedBuildInputs = [ - aiodns - aiohttp - pyasn1 - pyasn1-modules - ]; - - nativeCheckInputs = [ pytestCheckHook ]; - patches = [ (replaceVars ./hardcode-gnupg-path.patch { inherit gnupg; }) ]; + build-system = with rustPlatform; [ + cargoSetupHook + maturinBuildHook + ]; + + cargoDeps = rustPlatform.fetchCargoVendor { + inherit pname src; + hash = "sha256-CeuClBYEG2YCm5lnxFs5RhjIgYEOe76rzHpauLZeQR0="; + }; + + dependencies = [ + aiodns + pyasn1 + pyasn1-modules + ]; + + optional-dependencies = { + xep-0363 = [ aiohttp ]; + xep-0444-compliance = [ emoji ]; + xep-0464 = [ cryptography ]; + safer-xml-parserig = [ defusedxml ]; + }; + + nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); + + preCheck = '' + # don't test against pure python version in the source tree + rm -rf slixmpp + ''; + disabledTestPaths = [ + # Exclude integration tests + "itests/" # Exclude live tests "tests/live_test.py" - "tests/test_xep_0454.py" ]; pythonImportsCheck = [ "slixmpp" ]; diff --git a/pkgs/development/python-modules/tesla-fleet-api/default.nix b/pkgs/development/python-modules/tesla-fleet-api/default.nix index 0118c7ca0a27..f66ef53f039b 100644 --- a/pkgs/development/python-modules/tesla-fleet-api/default.nix +++ b/pkgs/development/python-modules/tesla-fleet-api/default.nix @@ -3,6 +3,8 @@ aiofiles, aiohttp, aiolimiter, + bleak, + bleak-retry-connector, buildPythonPackage, cryptography, fetchFromGitHub, @@ -13,7 +15,7 @@ buildPythonPackage rec { pname = "tesla-fleet-api"; - version = "0.9.13"; + version = "1.0.17"; pyproject = true; disabled = pythonOlder "3.10"; @@ -22,7 +24,7 @@ buildPythonPackage rec { owner = "Teslemetry"; repo = "python-tesla-fleet-api"; tag = "v${version}"; - hash = "sha256-Q+nALf5SBDjh6s6d8lZhFVIkz0vGvzRD8OgXX6v8mJY="; + hash = "sha256-3JLC+GXFNBy7xEPuk/ajVROp6IzZ7Jul+1VyOMB7t58="; }; build-system = [ setuptools ]; @@ -31,6 +33,8 @@ buildPythonPackage rec { aiofiles aiohttp aiolimiter + bleak + bleak-retry-connector cryptography protobuf ]; @@ -43,7 +47,6 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for Tesla Fleet API and Teslemetry"; homepage = "https://github.com/Teslemetry/python-tesla-fleet-api"; - changelog = "https://github.com/Teslemetry/python-tesla-fleet-api/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/zha-quirks/default.nix b/pkgs/development/python-modules/zha-quirks/default.nix index b43705f3b185..3e2f7135a96d 100644 --- a/pkgs/development/python-modules/zha-quirks/default.nix +++ b/pkgs/development/python-modules/zha-quirks/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "zha-quirks"; - version = "0.0.134"; + version = "0.0.136"; pyproject = true; disabled = pythonOlder "3.12"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zha-device-handlers"; tag = version; - hash = "sha256-9h9Fsn15/1fZIiZEyGPIzuyxmGs7L4PyEwH/K2cRSgU="; + hash = "sha256-WoLs8/IqKt0rxALmObim+NnaTRq/VAecrkrbirktm+A="; }; postPatch = '' diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix index 1d32f8f6d1d8..527283d544f3 100644 --- a/pkgs/development/python-modules/zha/default.nix +++ b/pkgs/development/python-modules/zha/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "zha"; - version = "0.0.53"; + version = "0.0.55"; pyproject = true; disabled = pythonOlder "3.12"; @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zha"; tag = version; - hash = "sha256-EszxMIdZKmw1q9WNyeTSMaGU9or/6oBe7VGOzXMkUzg="; + hash = "sha256-LiHJk7xVdIqNl6BTfwlch3jqQm/MvbrKSExhOR5KD0c="; }; postPatch = '' diff --git a/pkgs/development/python-modules/zigpy-znp/default.nix b/pkgs/development/python-modules/zigpy-znp/default.nix index 1831638ec1d8..22aa4294a376 100644 --- a/pkgs/development/python-modules/zigpy-znp/default.nix +++ b/pkgs/development/python-modules/zigpy-znp/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "zigpy-znp"; - version = "0.13.1"; + version = "0.14.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = pname; tag = "v${version}"; - hash = "sha256-6ApwGB6VvG+XiE8U85gg/EWnYniMb+1fqmNwtHGcf/I="; + hash = "sha256-vYB04vEFqpqrjJMS73mtYXakp7lEIJjB+tT0SF9hpWM="; }; postPatch = '' diff --git a/pkgs/development/python-modules/zigpy/default.nix b/pkgs/development/python-modules/zigpy/default.nix index ae7c4a8b6d40..a9b9fde8ec90 100644 --- a/pkgs/development/python-modules/zigpy/default.nix +++ b/pkgs/development/python-modules/zigpy/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "zigpy"; - version = "0.77.1"; + version = "0.78.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zigpy"; tag = version; - hash = "sha256-gvgGRTZc+JT0seeDyiu59Bxxp7J/gGIO0rCCtTeS9t4="; + hash = "sha256-7ckpg1ukuASWtTdQn/P0KfXaMo5l2NyB9alCXeTarEU="; }; postPatch = '' diff --git a/pkgs/development/python-modules/zwave-js-server-python/default.nix b/pkgs/development/python-modules/zwave-js-server-python/default.nix index ad8fb97f4e1b..edb9c5aa450a 100644 --- a/pkgs/development/python-modules/zwave-js-server-python/default.nix +++ b/pkgs/development/python-modules/zwave-js-server-python/default.nix @@ -12,16 +12,16 @@ buildPythonPackage rec { pname = "zwave-js-server-python"; - version = "0.61.0"; + version = "0.62.0"; pyproject = true; - disabled = pythonOlder "3.11"; + disabled = pythonOlder "3.12"; src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "zwave-js-server-python"; tag = version; - hash = "sha256-bIo+Kggk8vQHtdey36WunhTR3x8nfySVaJOyZDzKXRk="; + hash = "sha256-V/YydWNSjZVvHeeDNMUTEtMQL6/oJvyXtTG/akELjEs="; }; build-system = [ setuptools ]; diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 8657939c1955..385d2e332192 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2025.3.4"; + version = "2025.4.0"; components = { "3_day_blinds" = ps: with ps; [ @@ -682,6 +682,10 @@ ps: with ps; [ bond-async ]; + "bosch_alarm" = + ps: with ps; [ + bosch-alarm-mode2 + ]; "bosch_shc" = ps: with ps; [ boschshcpy @@ -1802,6 +1806,9 @@ "foursquare" = ps: with ps; [ ]; + "frankever" = + ps: with ps; [ + ]; "free_mobile" = ps: with ps; [ ]; # missing inputs: freesms @@ -2265,18 +2272,21 @@ "homeassistant_green" = ps: with ps; [ aiohasupervisor + ha-silabs-firmware-client psutil-home-assistant universal-silabs-flasher ]; "homeassistant_hardware" = ps: with ps; [ aiohasupervisor + ha-silabs-firmware-client universal-silabs-flasher ]; "homeassistant_sky_connect" = ps: with ps; [ aiohasupervisor aiousbwatcher + ha-silabs-firmware-client psutil-home-assistant pyserial universal-silabs-flasher @@ -2284,6 +2294,7 @@ "homeassistant_yellow" = ps: with ps; [ aiohasupervisor + ha-silabs-firmware-client psutil-home-assistant universal-silabs-flasher ]; @@ -2769,9 +2780,12 @@ jellyfin-apiclient-python ]; "jewish_calendar" = - ps: with ps; [ + ps: + with ps; + [ hdate - ]; + ] + ++ hdate.optional-dependencies.astral; "joaoapps_join" = ps: with ps; [ ]; # missing inputs: python-join-api @@ -3136,6 +3150,9 @@ ps: with ps; [ linear-garage-door ]; + "linkedgo" = + ps: with ps; [ + ]; "linkplay" = ps: with ps; [ python-linkplay @@ -3941,6 +3958,9 @@ ps: with ps; [ oemthermostat ]; + "ogemray" = + ps: with ps; [ + ]; "ohmconnect" = ps: with ps; [ defusedxml @@ -4118,6 +4138,7 @@ ps: with ps; [ aiohasupervisor aiousbwatcher + ha-silabs-firmware-client ifaddr pillow psutil-home-assistant @@ -4411,6 +4432,10 @@ "psoklahoma" = ps: with ps; [ ]; + "pterodactyl" = + ps: with ps; [ + py-dactyl + ]; "pulseaudio_loopback" = ps: with ps; [ pulsectl @@ -4672,6 +4697,10 @@ "remote" = ps: with ps; [ ]; + "remote_calendar" = + ps: with ps; [ + ical + ]; "remote_rpi_gpio" = ps: with ps; [ gpiozero @@ -5435,7 +5464,6 @@ ]; "sunweg" = ps: with ps; [ - sunweg ]; "supervisord" = ps: with ps; [ @@ -6505,8 +6533,7 @@ ]; "zengge" = ps: with ps; [ - bluepy - ]; # missing inputs: zengge + ]; "zeroconf" = ps: with ps; [ ifaddr @@ -6528,6 +6555,7 @@ ps: with ps; [ aiohasupervisor aiousbwatcher + ha-silabs-firmware-client pillow pyserial universal-silabs-flasher @@ -6659,6 +6687,7 @@ "bluetooth_le_tracker" "bmw_connected_drive" "bond" + "bosch_alarm" "bosch_shc" "braviatv" "bring" @@ -7178,6 +7207,7 @@ "prosegur" "proximity" "prusalink" + "pterodactyl" "pure_energie" "purpleair" "push" @@ -7213,6 +7243,7 @@ "reddit" "refoss" "remote" + "remote_calendar" "renault" "renson" "reolink" diff --git a/pkgs/servers/home-assistant/custom-components/emporia_vue/package.nix b/pkgs/servers/home-assistant/custom-components/emporia_vue/package.nix index c4a1d9893f42..f87b9576fb40 100644 --- a/pkgs/servers/home-assistant/custom-components/emporia_vue/package.nix +++ b/pkgs/servers/home-assistant/custom-components/emporia_vue/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "magico13"; domain = "emporia_vue"; - version = "0.10.1"; + version = "0.10.2-pre"; src = fetchFromGitHub { owner = "magico13"; repo = "ha-emporia-vue"; rev = "v${version}"; - hash = "sha256-OfJvln80ek/+4PURk23REhIyUckAEZ+Ybb5rZyKs6h4="; + hash = "sha256-mXzgd0dFwnwFCG0+9825uOrYhv2SNuLAOO1Unq6Kw/w="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/custom-components/ntfy/package.nix b/pkgs/servers/home-assistant/custom-components/ntfy/package.nix index fdc34a3f679f..20468ad516e8 100644 --- a/pkgs/servers/home-assistant/custom-components/ntfy/package.nix +++ b/pkgs/servers/home-assistant/custom-components/ntfy/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "hbrennhaeuser"; domain = "ntfy"; - version = "1.2.0-pre.1"; + version = "1.2.0-pre.2"; src = fetchFromGitHub { inherit owner; repo = "homeassistant_integration_ntfy"; rev = "v${version}"; - hash = "sha256-cdqO8fwaEZzAEa7aVjV00OQYnmx0vJZqz7Nd9+MUHN8="; + hash = "sha256-ydWZ4ApYQ9kyMA5A2OGXG323/7H3fa2XPiOAFBZNM30="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix b/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix index 504e8d81ea2d..ecd1053daa5a 100644 --- a/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix +++ b/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "wills106"; domain = "solax_modbus"; - version = "2025.02.1"; + version = "2025.04.1"; src = fetchFromGitHub { owner = "wills106"; repo = "homeassistant-solax-modbus"; tag = version; - hash = "sha256-xOW/jjBXw6N00yo1jE8ibU5XJ9drabBypVAL9UmNMVM="; + hash = "sha256-kX8poctK1Q7QZnpvkOisQ47jNzXJJ2nlB1fa+Pv4AFs="; }; dependencies = [ pymodbus ]; diff --git a/pkgs/servers/home-assistant/custom-components/solis-sensor/package.nix b/pkgs/servers/home-assistant/custom-components/solis-sensor/package.nix index 2d1a056407cf..365d571da1cb 100644 --- a/pkgs/servers/home-assistant/custom-components/solis-sensor/package.nix +++ b/pkgs/servers/home-assistant/custom-components/solis-sensor/package.nix @@ -9,13 +9,13 @@ buildHomeAssistantComponent rec { owner = "hultenvp"; domain = "solis"; - version = "3.9.0"; + version = "3.9.1"; src = fetchFromGitHub { owner = "hultenvp"; repo = "solis-sensor"; rev = "v${version}"; - hash = "sha256-RgsKIav3ozWYO9CXzvhMVmvOW74L/AHGOW8OWOMFBcQ="; + hash = "sha256-hiCgro2BDi1ZXxZu9E+m0wdHN0qnjlUvgv4pPmSb9j4="; }; dependencies = [ aiofiles ]; diff --git a/pkgs/servers/home-assistant/custom-components/tuya_local/package.nix b/pkgs/servers/home-assistant/custom-components/tuya_local/package.nix index c7956ef85c1c..5bcb72bda07c 100644 --- a/pkgs/servers/home-assistant/custom-components/tuya_local/package.nix +++ b/pkgs/servers/home-assistant/custom-components/tuya_local/package.nix @@ -11,13 +11,13 @@ buildHomeAssistantComponent rec { owner = "make-all"; domain = "tuya_local"; - version = "2025.2.2"; + version = "2025.3.0"; src = fetchFromGitHub { inherit owner; repo = "tuya-local"; tag = version; - hash = "sha256-RwPbFIDXSXFzR2sck1EUvQL+1o8Ppb5clsIAHhYxX5o="; + hash = "sha256-CkH2Njv9qdGlnEo3RP64Lz4ys62W6DxYC/TSl/lndPI="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/custom-components/yoto_ha/package.nix b/pkgs/servers/home-assistant/custom-components/yoto_ha/package.nix index e2259c87ee42..9677303ec4c1 100644 --- a/pkgs/servers/home-assistant/custom-components/yoto_ha/package.nix +++ b/pkgs/servers/home-assistant/custom-components/yoto_ha/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "cdnninja"; domain = "yoto"; - version = "1.23.2"; + version = "1.24.0"; src = fetchFromGitHub { owner = "cdnninja"; repo = "yoto_ha"; tag = "v${version}"; - hash = "sha256-RErsZGSoBhBGg852znZq6W8oDZmDDoPTZihUBhWCO5w="; + hash = "sha256-vlUPVKG6PAkQbROd/Pn5gf48/QWl2GAs3xGCnwX0ENU="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/custom-lovelace-modules/clock-weather-card/package.nix b/pkgs/servers/home-assistant/custom-lovelace-modules/clock-weather-card/package.nix index 0e651743dbe0..d5f4740a68da 100644 --- a/pkgs/servers/home-assistant/custom-lovelace-modules/clock-weather-card/package.nix +++ b/pkgs/servers/home-assistant/custom-lovelace-modules/clock-weather-card/package.nix @@ -9,18 +9,18 @@ }: stdenvNoCC.mkDerivation rec { pname = "clock-weather-card"; - version = "2.8.10"; + version = "2.8.11"; src = fetchFromGitHub { owner = "pkissling"; repo = "clock-weather-card"; tag = "v${version}"; - hash = "sha256-ZmqtvA6kRkqkoRCBerLZXqRB1wwTF0jrc+KfigaE7Pw="; + hash = "sha256-CZ4tv6U94HbOJ0JwLgd8Fgw2BS6ayGVhqWBK9mJ6JEk="; }; offlineCache = fetchYarnDeps { yarnLock = src + "/yarn.lock"; - hash = "sha256-Z9UZHsmaRjaf7fIDYhNmlLU2T1l1hlFKvyEahPK3Y3E="; + hash = "sha256-L/piPdtHFQORD3dnKG/2gnMQ2y3EXdlGMyl8yS0s7KA="; }; nativeBuildInputs = [ diff --git a/pkgs/servers/home-assistant/custom-lovelace-modules/mini-graph-card/package.nix b/pkgs/servers/home-assistant/custom-lovelace-modules/mini-graph-card/package.nix index d09df4dc9fe8..f54d83d88c4e 100644 --- a/pkgs/servers/home-assistant/custom-lovelace-modules/mini-graph-card/package.nix +++ b/pkgs/servers/home-assistant/custom-lovelace-modules/mini-graph-card/package.nix @@ -6,16 +6,16 @@ buildNpmPackage rec { pname = "mini-graph-card"; - version = "0.12.1"; + version = "0.13.0-dev.2"; src = fetchFromGitHub { owner = "kalkih"; repo = "mini-graph-card"; tag = "v${version}"; - hash = "sha256-cDgfAfS4U3ihN808KPcG+jEQR+S2Q1M5SPqOkkYwYkI="; + hash = "sha256-JpteGI9oR2twCTvEQ8xtb55EGQw//9EVuELh4BG0BE0="; }; - npmDepsHash = "sha256-v+DqUAMNtDruR8E0sy7uAu3jndZUHkOw2xKtpY163R8="; + npmDepsHash = "sha256-Mg58i0L1e1YwBd81WwVgB56P7EYaq3FnMysIrgu0+qQ="; installPhase = '' runHook preInstall diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 35bdea4e4cac..2fbe3c41c182 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -129,12 +129,12 @@ let }); google-genai = super.google-genai.overridePythonAttrs (old: rec { - version = "1.1.0"; + version = "1.7.0"; src = fetchFromGitHub { owner = "googleapis"; repo = "python-genai"; tag = "v${version}"; - hash = "sha256-CszKr2dvo0dLMAD/FZHSosCczeAFDD0xxKysGNv4RxM="; + hash = "sha256-vmrFPE7H9s9varrP0s6WK4opoU1hREH7rVVjrKiXY5E="; }; }); @@ -283,28 +283,6 @@ let }; }); - pyopenweathermap = super.pyopenweathermap.overridePythonAttrs (old: rec { - version = "0.2.1"; - src = fetchFromGitHub { - owner = "freekode"; - repo = "pyopenweathermap"; - tag = "v${version}"; - hash = "sha256-UcnELAJf0Ltf0xJOlyzsHb4HQGSBTJ+/mOZ/XSTkA0w="; - }; - }); - - pyrail = super.pyrail.overridePythonAttrs (rec { - version = "0.0.3"; - src = fetchPypi { - pname = "pyrail"; - inherit version; - hash = "sha256-XxcVcRXMjYAKevANAqNJkGDUWfxDaLqgCL6XL9Lhsf4="; - }; - env.CI_JOB_ID = version; - build-system = [ self.setuptools ]; - dependencies = [ self.requests ]; - }); - # snmp component does not support pysnmp 7.0+ pysnmp = super.pysnmp.overridePythonAttrs (oldAttrs: rec { version = "6.2.6"; @@ -375,6 +353,16 @@ let }; }); + wolf-comm = super.wolf-comm.overridePythonAttrs (rec { + version = "0.0.23"; + src = fetchFromGitHub { + owner = "janrothkegel"; + repo = "wolf-comm"; + tag = version; + hash = "sha256-LpehooW3vmohiyMwOQTFNLiNCsaLKelWQxQk8bl+y1k="; + }; + }); + # internal python packages only consumed by home-assistant itself hass-web-proxy-lib = self.callPackage ./python-modules/hass-web-proxy-lib { }; home-assistant-frontend = self.callPackage ./frontend.nix { }; @@ -405,7 +393,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2025.3.4"; + hassVersion = "2025.4.0"; in python.pkgs.buildPythonApplication rec { @@ -426,47 +414,20 @@ python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; tag = version; - hash = "sha256-g1t9xAjrSSePyAloTQ2qwxAGEXJUTWX2zIZmAvlGGa8="; + hash = "sha256-AEJQueoHLp6xRFYVQ9cwSMFvlgwrMGJ1JUMnosk2qHg="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-MIh8FMTKZVEZ/zC+Av8fykTpz9kkXgZZfnsuOZbgP0M="; + hash = "sha256-wflwLkqTXaBh1flSVNJcA5KChipRCzZD7nb7VaK2EPM="; }; build-system = with python.pkgs; [ setuptools ]; - pythonRelaxDeps = [ - "aiohttp" - "aiozoneinfo" - "attrs" - "bcrypt" - "ciso8601" - "cryptography" - "fnv-hash-fast" - "hass-nabucasa" - "httpx" - "jinja2" - "orjson" - "pillow" - "propcache" - "pyjwt" - "pyopenssl" - "pyyaml" - "requests" - "securetar" - "sqlalchemy" - "typing-extensions" - "ulid-transform" - "urllib3" - "uv" - "voluptuous-openapi" - "yarl" - "zeroconf" - ]; + pythonRelaxDeps = true; # extract translations from pypi sdist prePatch = '' @@ -499,6 +460,7 @@ python.pkgs.buildPythonApplication rec { aiohttp-cors aiohttp-fast-zlib aiozoneinfo + annotatedyaml astral async-interrupt atomicwrites-homeassistant @@ -511,20 +473,28 @@ python.pkgs.buildPythonApplication rec { cronsim cryptography fnv-hash-fast + ha-ffmpeg hass-nabucasa + hassil home-assistant-bluetooth + home-assistant-intents httpx ifaddr jinja2 lru-dict + mutagen + numpy orjson packaging pillow propcache psutil-home-assistant pyjwt + pymicro-vad pyopenssl + pyspeex-noise python-slugify + pyturbojpeg pyyaml requests securetar @@ -538,7 +508,9 @@ python.pkgs.buildPythonApplication rec { voluptuous voluptuous-openapi voluptuous-serialize + webrtc-models yarl + zeroconf # REQUIREMENTS in homeassistant/auth/mfa_modules/totp.py and homeassistant/auth/mfa_modules/notify.py pyotp pyqrcode diff --git a/pkgs/servers/home-assistant/frontend.nix b/pkgs/servers/home-assistant/frontend.nix index 54b4b316e9ff..a40480769441 100644 --- a/pkgs/servers/home-assistant/frontend.nix +++ b/pkgs/servers/home-assistant/frontend.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { # the frontend version corresponding to a specific home-assistant version can be found here # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json pname = "home-assistant-frontend"; - version = "20250306.0"; + version = "20250401.0"; format = "wheel"; src = fetchPypi { @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "home_assistant_frontend"; dist = "py3"; python = "py3"; - hash = "sha256-Nsh5zCyD72bjQ89BW5lmHdyWW9rxo+v2AW5fSOux/OA="; + hash = "sha256-EgNXMXVjGnNB4Q1U1HDXMNhJcMaVC9W1w2g4W83INOY="; }; # there is nothing to strip in this package diff --git a/pkgs/servers/home-assistant/intents.nix b/pkgs/servers/home-assistant/intents.nix index 88d705f8b9a6..99cfdadb9148 100644 --- a/pkgs/servers/home-assistant/intents.nix +++ b/pkgs/servers/home-assistant/intents.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "home-assistant-intents"; - version = "2025.3.5"; + version = "2025.3.28"; pyproject = true; disabled = pythonOlder "3.9"; @@ -32,7 +32,7 @@ buildPythonPackage rec { repo = "intents-package"; rev = "refs/tags/${version}"; fetchSubmodules = true; - hash = "sha256-4FYmj6EqcNxPzXJVM0svyJIoeMSBnINNfvOda4B9Jic="; + hash = "sha256-p1AQYwlMas6GLzg4ZsypDaUsQs74drKqfXA8uJ2K+xw="; }; build-system = [ @@ -62,6 +62,9 @@ buildPythonPackage rec { "intents/tests" ]; + # requires hassil 3.0.0, but Home Assistant is stuck on 2.2.3 + doCheck = false; + meta = with lib; { changelog = "https://github.com/home-assistant/intents/releases/tag/${version}"; description = "Intents to be used with Home Assistant"; diff --git a/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix b/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix index 1830ed38cbd9..05341b413213 100644 --- a/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix +++ b/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "pytest-homeassistant-custom-component"; - version = "0.13.223"; + version = "0.13.232"; pyproject = true; disabled = pythonOlder "3.12"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "MatthewFlamm"; repo = "pytest-homeassistant-custom-component"; rev = "refs/tags/${version}"; - hash = "sha256-mt8byu88r76cVkZlu8LSiInm/jwboauo6YblY2aTulA="; + hash = "sha256-LHdkU89YzILPZFf/EgnCdPCG4tk1s5V7tpDsNtEaAak="; }; build-system = [ setuptools ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 900605acde9c..7dc2716e8b4f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6058,6 +6058,8 @@ self: super: with self; { ha-philipsjs = callPackage ../development/python-modules/ha-philipsjs { }; + ha-silabs-firmware-client = callPackage ../development/python-modules/ha-silabs-firmware-client { }; + habanero = callPackage ../development/python-modules/habanero { }; habiticalib = callPackage ../development/python-modules/habiticalib { };