Skip to content
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/airos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

buildPythonPackage rec {
pname = "airos";
version = "0.2.4";
version = "0.2.7";
pyproject = true;

disabled = pythonOlder "3.13";
Expand All @@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "CoMPaTech";
repo = "python-airos";
tag = "v${version}";
hash = "sha256-zY0XPucCXiJDo9C4GiDqs/lxQDTphs/mBXBqSYPvkoI=";
hash = "sha256-c/YVjNEy1nI6ClYk8BgLai+zRCwiblTFSJ5Rxx3UaeU=";
};

build-system = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/hass-nabucasa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

buildPythonPackage rec {
pname = "hass-nabucasa";
version = "0.111.1";
version = "0.111.2";
pyproject = true;

disabled = pythonOlder "3.13";
Expand All @@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "nabucasa";
repo = "hass-nabucasa";
tag = version;
hash = "sha256-WmsLn/pHI3KJSmX5U20eNUEs0Q1upuwkkzcHIYPNYjY=";
hash = "sha256-64DdjyzeeYI9u8hYP7CwZvLhCcCzztti2DshvtYcxNQ=";
};

build-system = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/knx-frontend/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

buildPythonPackage rec {
pname = "knx-frontend";
version = "2025.8.6.52906";
version = "2025.8.9.63154";
pyproject = true;

# TODO: source build, uses yarn.lock
src = fetchPypi {
pname = "knx_frontend";
inherit version;
hash = "sha256-Wmiwj5PL68VH1j5xDhZJyAHBakoG+0SKzCJCcCntT18=";
hash = "sha256-Sphetc0ox0Oh70vNdkHorX0jpvC8bckm1TBKk2QSGPo=";
};

build-system = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/zha-quirks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.142";
version = "0.0.143";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha-device-handlers";
tag = version;
hash = "sha256-D1FIkyVSa4j6p4PHkjCAU08zpZjjXPGWoL5lKlWUHuU=";
hash = "sha256-txU1KJzQitSR7Y+/18dLo82K0SkPrJ4iQRBX9C4hgGU=";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/zha/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

buildPythonPackage rec {
pname = "zha";
version = "0.0.66";
version = "0.0.68";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha";
tag = version;
hash = "sha256-74rJ2bdscbGkaLuHMQr8sNxL1wNN72UrlpH4zIkSprY=";
hash = "sha256-NgUUzNfC1XngU5RBfbKpt/o8hu7XRXOUaDUb7OjSJJc=";
};

postPatch = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Do not edit!

{
version = "2025.8.0";
version = "2025.8.1";
components = {
"3_day_blinds" =
ps: with ps; [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/servers/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ let
extraBuildInputs = extraPackages python.pkgs;

# Don't forget to run update-component-packages.py after updating
hassVersion = "2025.8.0";
hassVersion = "2025.8.1";

in
python.pkgs.buildPythonApplication rec {
Expand All @@ -351,13 +351,13 @@ python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
tag = version;
hash = "sha256-o8NZ06GorRmICeu8GQzomkCuE2aALnodT5UuiJ4EOEc=";
hash = "sha256-o1j1ejSMa6T18nNxrmvNcOSWAMbi8b11wgHKO+w5gHA=";
};

# Secondary source is pypi sdist for translations
sdist = fetchPypi {
inherit pname version;
hash = "sha256-U06ttXEWe46h8O2wurYyaCN78EdSCvOs10VbnyOQdsM=";
hash = "sha256-6LyI3t/+wKIVIcVwCny9AIYEaONiwc4GFmbwqjv/9r8=";
};

build-system = with python.pkgs; [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/frontend.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ 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 = "20250806.0";
version = "20250811.0";
format = "wheel";

src = fetchPypi {
inherit version format;
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-krx62/hxF9MAFOQygZGAgcwbTuYKXTPcRpfmrHfKzEQ=";
hash = "sha256-x//iMjNup4bf3PpvISYkHxOXKH20J2s+6oWQ22gS4BI=";
};

# there is nothing to strip in this package
Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/update-component-packages.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ packaging rich ])" -p pyright ruff isort
#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ packaging rich ])" -p pyright ruff isort nixfmt

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nixfmt was removed on purpose from update scripts' shebangs in b68cc63. This is expected to be available via nixpkgs' nix-shell environment / treefmt configuration instead.

Removed again in #433588.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did not find nixfmt, when I ran it. That's why I added it back. I'm not manually attaching to the shell in the repo root, if that's what you're asking.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not manually attaching to the shell in the repo root, if that's what you're asking.

Unfortunately, that's what we need to expect, though. You'd either need to enter nix-shell manually or have direnv set up.

That's because nixfmt only works by accident, because it doesn't have configuration (right now). As soon as we have configuration for it, which happens via treefmt-nix, a nixfmt (or nixfmt-rfc-style) that you get directly from whatever nixpkgs this update script takes packages from... it would result in different formatting results.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe... you can replace nixfmt with nix fmt? This should also work outside nix-shell, although only with the new CLI. So maybe with the enable-experimental-features flag?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or have direnv set up.

whats' the reason for letting everyone do this on their own instead of adding it to nixpkgs directly?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. There is #325793 which added the file to .gitignore. I didn't read through it, but it refers to some other issues / PRs.. I assume this would have been controversial? Dunno.

I think it should really be set up by default. It's annoying to have to do it manually. If you're not running direnv, it won't bother you anyway.

#
# This script downloads Home Assistant's source tarball.
# Inside the homeassistant/components directory, each integration has an associated manifest.json,
Expand Down
Loading