Skip to content

Commit

Permalink
home-assistant: 2025.1.0 -> 2025.1.1 (#371814)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Jan 8, 2025
2 parents 2cbdd54 + f89d931 commit e12be49
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 42 deletions.
17 changes: 8 additions & 9 deletions pkgs/development/python-modules/bleak-esphome/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
lru-dict,
poetry-core,
pytest-asyncio,
pytest-codspeed,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
}:

buildPythonPackage rec {
pname = "bleak-esphome";
version = "1.1.1";
version = "2.0.0";
pyproject = true;

disabled = pythonOlder "3.10";
Expand All @@ -24,17 +26,12 @@ buildPythonPackage rec {
owner = "bluetooth-devices";
repo = "bleak-esphome";
tag = "v${version}";
hash = "sha256-WFswGtPX0OpDTqT25oHGZ+gIN/fhco4orWeGVXIIfzM=";
hash = "sha256-rN2vpXiOaUjjN6yNZxeEgTpcz0K5soUqKKiDDOhcBtc=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=bleak_esphome --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];

nativeBuildInputs = [ poetry-core ];

propagatedBuildInputs = [
dependencies = [
aioesphomeapi
bleak
bluetooth-data-tools
Expand All @@ -44,6 +41,8 @@ buildPythonPackage rec {

nativeCheckInputs = [
pytest-asyncio
pytest-codspeed
pytest-cov-stub
pytestCheckHook
];

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

buildPythonPackage rec {
pname = "demetriek";
version = "1.1.0";
version = "1.1.1";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "frenck";
repo = "python-demetriek";
tag = "v${version}";
hash = "sha256-MDGAhsLbJqvywQntlPfM/cPyltqsqnt2C31ACpMPn0Y=";
hash = "sha256-OTYQFw3Jy+sRGoPYVp5VKgCAzv9Gy2Fn2GjTGdsKjak=";
};

postPatch = ''
Expand Down
8 changes: 5 additions & 3 deletions pkgs/development/python-modules/habluetooth/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
lib,
async-interrupt,
bleak,
bleak-retry-connector,
bleak,
bluetooth-adapters,
bluetooth-auto-recovery,
bluetooth-data-tools,
Expand All @@ -11,6 +11,7 @@
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytest-codspeed,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
Expand All @@ -19,7 +20,7 @@

buildPythonPackage rec {
pname = "habluetooth";
version = "3.6.0";
version = "3.7.0";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -28,7 +29,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = "habluetooth";
tag = "v${version}";
hash = "sha256-ypE/PvJV29+P389wLKZUErqLRvy935dAZYeap7n1z4M=";
hash = "sha256-wOWQaM1hfWaqLFIzwB7O1yOS/CJPvZ+aGbKzvAE2DAE=";
};

build-system = [
Expand All @@ -48,6 +49,7 @@ buildPythonPackage rec {

nativeCheckInputs = [
pytest-asyncio
pytest-codspeed
pytest-cov-stub
pytestCheckHook
];
Expand Down
15 changes: 13 additions & 2 deletions pkgs/development/python-modules/powerfox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
aresponses,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
mashumaro,
orjson,
poetry-core,
Expand All @@ -17,7 +18,7 @@

buildPythonPackage rec {
pname = "powerfox";
version = "1.1.0";
version = "1.2.0";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -26,9 +27,19 @@ buildPythonPackage rec {
owner = "klaasnicolaas";
repo = "python-powerfox";
tag = "v${version}";
hash = "sha256-stHZWGkISsemRUModIlE5CqYVVu3Mdt4ksW5tBewEDo=";
hash = "sha256-VSkOCJu3HXBHkvYtSe/kYFOhJ9kMrcf/ijMqvUB9aRU=";
};

patches = [
# requires poetry-core>=2.0
(fetchpatch2 {
url = "https://github.com/klaasnicolaas/python-powerfox/commit/e3f1e39573fc278cd2800a2d4f4315cf0aff592b.patch";
includes = [ "pyproject.toml" ];
hash = "sha256-hkXLT3IWBVlbAwWvu/erENEsxOuIb8wv9UIVtAZqMPc=";
revert = true;
})
];

build-system = [ poetry-core ];

dependencies = [
Expand Down
12 changes: 4 additions & 8 deletions pkgs/development/python-modules/pysuez/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
fetchFromGitHub,
hatchling,
aiohttp,
regex,
pythonOlder,
}:

buildPythonPackage rec {
pname = "pysuez";
version = "1.3.5";
version = "2.0.1";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -19,15 +18,12 @@ buildPythonPackage rec {
owner = "jb101010-2";
repo = "pySuez";
tag = version;
hash = "sha256-BG5nX2S+WV0Bdwm/cvm+mGO1RUd+F312tZ4jws6A/d8=";
hash = "sha256-p9kTWaSMRgKZFonHTgT7nj4NdeTFCeEHawIFew/rii4=";
};

build-system = [ hatchling ];

dependencies = [
aiohttp
regex
];
dependencies = [ aiohttp ];

# Module has no tests
doCheck = false;
Expand All @@ -38,7 +34,7 @@ buildPythonPackage rec {
description = "Module to get water consumption data from Suez";
mainProgram = "pysuez";
homepage = "https://github.com/jb101010-2/pySuez";
changelog = "https://github.com/jb101010-2/pySuez/releases/tag/v${version}";
changelog = "https://github.com/jb101010-2/pySuez/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/uiprotect/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

buildPythonPackage rec {
pname = "uiprotect";
version = "7.1.0";
version = "7.4.1";
pyproject = true;

disabled = pythonOlder "3.10";
Expand All @@ -49,7 +49,7 @@ buildPythonPackage rec {
owner = "uilibs";
repo = "uiprotect";
tag = "v${version}";
hash = "sha256-TALjJmTI5lMXyXcJtfyMVpqLo8dBbENG22EX7B+3QKQ=";
hash = "sha256-y4rJoT70WiVS9Gs/U6FPOaGGubPI43x9tA2vcdiDBlw=";
};

build-system = [ poetry-core ];
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 @@ -12,7 +12,7 @@

buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.129";
version = "0.0.130";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha-device-handlers";
tag = version;
hash = "sha256-/lcF7MZrw85H5LBL8aBdaIuFRT5yJUhr+vN9gJHnPDw=";
hash = "sha256-G5q4W9Dxjhjbkt5rcYhseeaSWC73MJCo/pX/OfNlPrQ=";
};

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.44";
version = "0.0.45";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha";
tag = version;
hash = "sha256-ZgCbhezNsWZsQQViPK04UQA2mGZz47rFiMAk2oR8xR4=";
hash = "sha256-KeHGuQGEoXQnIJKQ86DrsoufN+Ppp/fyYblXx2iGHgU=";
};

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

buildPythonPackage rec {
pname = "zigpy";
version = "0.73.3";
version = "0.74.0";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy";
tag = version;
hash = "sha256-+YkNV6xbM38dHVpXD264KmzozborvotZRETAncpAUEs=";
hash = "sha256-B0BjDldIzHGRKR79mqgJHbvYeDGY5EDxFKaD2Q+HMyo=";
};

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.1.0";
version = "2025.1.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 @@ -289,7 +289,7 @@ let
extraBuildInputs = extraPackages python.pkgs;

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

in
python.pkgs.buildPythonApplication rec {
Expand All @@ -310,13 +310,13 @@ python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-tkjOWJ29fvWzto3y6zV8h8yPIGyhC5sBIL5koOsw5i0=";
hash = "sha256-fiGdRXQmH+CcgnGQloktl66Yh8iiFEDCQyOL3jfXjdU=";
};

# Secondary source is pypi sdist for translations
sdist = fetchPypi {
inherit pname version;
hash = "sha256-xaHD93crz4wm3CwX5d/UxeuOQ769G+ZnA26iE7y7hU4=";
hash = "sha256-CYvi2Z1d3hbcfet08TR/jScuOKGgipTEWmno7/r5qLU=";
};

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 = "20250103.0";
version = "20250106.0";
format = "wheel";

src = fetchPypi {
inherit version format;
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-i+XOHFGL7UVxL+bNohhi+8pF1kZ5oOY5EpZHR3NbwL4=";
hash = "sha256-Jhbw/HNOInLAihHeP+Vpsvsukjf3OY32EbBayDEuU+k=";
};

# there is nothing to strip in this package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

buildPythonPackage rec {
pname = "pytest-homeassistant-custom-component";
version = "0.13.200";
version = "0.13.201";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "MatthewFlamm";
repo = "pytest-homeassistant-custom-component";
rev = "refs/tags/${version}";
hash = "sha256-aZeC003EGa8qBR+sN3EK1EbbwLZqdzNf1bjTQyQ6l9I=";
hash = "sha256-WWfVxLYW5V5q0huBoST3n64Fm9f69rjv8B6g96ZaFDc=";
};

build-system = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/stubs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

buildPythonPackage rec {
pname = "homeassistant-stubs";
version = "2025.1.0";
version = "2025.1.1";
pyproject = true;

disabled = python.version != home-assistant.python.version;
Expand All @@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "KapJI";
repo = "homeassistant-stubs";
rev = "refs/tags/${version}";
hash = "sha256-qKmHQrciezgGPHNNGy7lDM9LaCXJO/DuYIrk8qjWpDQ=";
hash = "sha256-9z8HX9zNzRfMTWJiHwbCpOAmYF9yfHsM/FR9siB7D/E=";
};

build-system = [
Expand Down

0 comments on commit e12be49

Please sign in to comment.