Skip to content

Commit 0654d1d

Browse files
authored
home-assistant-custom-components.homematicip_local: 1.75.0 -> 1.76.1 (NixOS#370018)
2 parents 3ffbaaf + 1e0b0c0 commit 0654d1d

File tree

3 files changed

+27
-20
lines changed

3 files changed

+27
-20
lines changed

pkgs/development/python-modules/hahomematic/default.nix

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
orjson,
88
pydevccu,
99
pytest-aiohttp,
10+
pytest-socket,
1011
pytestCheckHook,
1112
python-slugify,
1213
pythonOlder,
@@ -16,16 +17,16 @@
1617

1718
buildPythonPackage rec {
1819
pname = "hahomematic";
19-
version = "2024.12.5";
20+
version = "2024.12.13";
2021
pyproject = true;
2122

2223
disabled = pythonOlder "3.12";
2324

2425
src = fetchFromGitHub {
25-
owner = "danielperna84";
26+
owner = "SukramJ";
2627
repo = "hahomematic";
27-
rev = "refs/tags/${version}";
28-
hash = "sha256-jC9IXkl80pspqc9m0U6mspp5QSGG6u9Y6ANMK8WAG5s=";
28+
tag = version;
29+
hash = "sha256-qHB47S5bU+353deoq4B8XwPYfUoU940Y3hl8u3gGrNs=";
2930
};
3031

3132
__darwinAllowLocalNetworking = true;
@@ -48,15 +49,16 @@ buildPythonPackage rec {
4849
freezegun
4950
pydevccu
5051
pytest-aiohttp
52+
pytest-socket
5153
pytestCheckHook
5254
];
5355

5456
pythonImportsCheck = [ "hahomematic" ];
5557

5658
meta = with lib; {
5759
description = "Python module to interact with HomeMatic devices";
58-
homepage = "https://github.com/danielperna84/hahomematic";
59-
changelog = "https://github.com/danielperna84/hahomematic/blob/${src.rev}/changelog.md";
60+
homepage = "https://github.com/SukramJ/hahomematic";
61+
changelog = "https://github.com/SukramJ/hahomematic/blob/${src.tag}/changelog.md";
6062
license = licenses.mit;
6163
maintainers = with maintainers; [
6264
dotlambda

pkgs/development/python-modules/pydevccu/default.nix

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,23 @@
88

99
buildPythonPackage rec {
1010
pname = "pydevccu";
11-
version = "0.1.8";
11+
version = "0.1.9";
1212
pyproject = true;
1313

14-
disabled = pythonOlder "3.8";
14+
disabled = pythonOlder "3.12";
1515

1616
src = fetchFromGitHub {
17-
owner = "danielperna84";
17+
owner = "SukramJ";
1818
repo = "pydevccu";
19-
rev = "refs/tags/${version}";
20-
hash = "sha256-WguSTtWxkiDs5nK5eiaarfD0CBxzIxQR9fxjuW3wMGc=";
19+
tag = version;
20+
hash = "sha256-s1u9+w0sPpXuqAET4k5VPWP+VoPqB08dZa9oY4UFXc8=";
2121
};
2222

23+
postPatch = ''
24+
substituteInPlace pyproject.toml \
25+
--replace-fail "setuptools==75.6.0" setuptools
26+
'';
27+
2328
build-system = [ setuptools ];
2429

2530
# Module has no tests
@@ -29,8 +34,8 @@ buildPythonPackage rec {
2934

3035
meta = {
3136
description = "HomeMatic CCU XML-RPC Server with fake devices";
32-
homepage = "https://github.com/danielperna84/pydevccu";
33-
changelog = "https://github.com/danielperna84/pydevccu/releases/tag/${version}";
37+
homepage = "https://github.com/SukramJ/pydevccu";
38+
changelog = "https://github.com/SukramJ/pydevccu/releases/tag/${src.tag}";
3439
license = lib.licenses.mit;
3540
maintainers = with lib.maintainers; [ fab ];
3641
};

pkgs/servers/home-assistant/custom-components/homematicip_local/package.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
}:
88

99
buildHomeAssistantComponent rec {
10-
owner = "danielperna84";
10+
owner = "SukramJ";
1111
domain = "homematicip_local";
12-
version = "1.75.0";
12+
version = "1.76.1";
1313

1414
src = fetchFromGitHub {
15-
owner = "danielperna84";
15+
owner = "SukramJ";
1616
repo = "custom_homematic";
17-
rev = "refs/tags/${version}";
18-
hash = "sha256-H5Gf09C9/s2JYVTjgiYNe28mV18mqTiJ0ZDR6rnuojo=";
17+
tag = version;
18+
hash = "sha256-dBNZFYoi6tA9waV/yPCkgLu+ADxq09UKsOBHWOOBRJY=";
1919
};
2020

2121
postPatch = ''
@@ -30,9 +30,9 @@ buildHomeAssistantComponent rec {
3030
];
3131

3232
meta = {
33-
changelog = "https://github.com/danielperna84/custom_homematic/blob/${version}/changelog.md";
33+
changelog = "https://github.com/SukramJ/custom_homematic/blob/${src.tag}/changelog.md";
3434
description = "Custom Home Assistant Component for HomeMatic";
35-
homepage = "https://github.com/danielperna84/custom_homematic";
35+
homepage = "https://github.com/SukramJ/custom_homematic";
3636
maintainers = with lib.maintainers; [ dotlambda ];
3737
license = lib.licenses.mit;
3838
};

0 commit comments

Comments
 (0)