Skip to content

Commit

Permalink
home-assistant-custom-components.homematicip_local: 1.75.0 -> 1.76.1 (N…
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored Jan 2, 2025
2 parents 3ffbaaf + 1e0b0c0 commit 0654d1d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 20 deletions.
14 changes: 8 additions & 6 deletions pkgs/development/python-modules/hahomematic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
orjson,
pydevccu,
pytest-aiohttp,
pytest-socket,
pytestCheckHook,
python-slugify,
pythonOlder,
Expand All @@ -16,16 +17,16 @@

buildPythonPackage rec {
pname = "hahomematic";
version = "2024.12.5";
version = "2024.12.13";
pyproject = true;

disabled = pythonOlder "3.12";

src = fetchFromGitHub {
owner = "danielperna84";
owner = "SukramJ";
repo = "hahomematic";
rev = "refs/tags/${version}";
hash = "sha256-jC9IXkl80pspqc9m0U6mspp5QSGG6u9Y6ANMK8WAG5s=";
tag = version;
hash = "sha256-qHB47S5bU+353deoq4B8XwPYfUoU940Y3hl8u3gGrNs=";
};

__darwinAllowLocalNetworking = true;
Expand All @@ -48,15 +49,16 @@ buildPythonPackage rec {
freezegun
pydevccu
pytest-aiohttp
pytest-socket
pytestCheckHook
];

pythonImportsCheck = [ "hahomematic" ];

meta = with lib; {
description = "Python module to interact with HomeMatic devices";
homepage = "https://github.com/danielperna84/hahomematic";
changelog = "https://github.com/danielperna84/hahomematic/blob/${src.rev}/changelog.md";
homepage = "https://github.com/SukramJ/hahomematic";
changelog = "https://github.com/SukramJ/hahomematic/blob/${src.tag}/changelog.md";
license = licenses.mit;
maintainers = with maintainers; [
dotlambda
Expand Down
19 changes: 12 additions & 7 deletions pkgs/development/python-modules/pydevccu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,23 @@

buildPythonPackage rec {
pname = "pydevccu";
version = "0.1.8";
version = "0.1.9";
pyproject = true;

disabled = pythonOlder "3.8";
disabled = pythonOlder "3.12";

src = fetchFromGitHub {
owner = "danielperna84";
owner = "SukramJ";
repo = "pydevccu";
rev = "refs/tags/${version}";
hash = "sha256-WguSTtWxkiDs5nK5eiaarfD0CBxzIxQR9fxjuW3wMGc=";
tag = version;
hash = "sha256-s1u9+w0sPpXuqAET4k5VPWP+VoPqB08dZa9oY4UFXc8=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools==75.6.0" setuptools
'';

build-system = [ setuptools ];

# Module has no tests
Expand All @@ -29,8 +34,8 @@ buildPythonPackage rec {

meta = {
description = "HomeMatic CCU XML-RPC Server with fake devices";
homepage = "https://github.com/danielperna84/pydevccu";
changelog = "https://github.com/danielperna84/pydevccu/releases/tag/${version}";
homepage = "https://github.com/SukramJ/pydevccu";
changelog = "https://github.com/SukramJ/pydevccu/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
}:

buildHomeAssistantComponent rec {
owner = "danielperna84";
owner = "SukramJ";
domain = "homematicip_local";
version = "1.75.0";
version = "1.76.1";

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

postPatch = ''
Expand All @@ -30,9 +30,9 @@ buildHomeAssistantComponent rec {
];

meta = {
changelog = "https://github.com/danielperna84/custom_homematic/blob/${version}/changelog.md";
changelog = "https://github.com/SukramJ/custom_homematic/blob/${src.tag}/changelog.md";
description = "Custom Home Assistant Component for HomeMatic";
homepage = "https://github.com/danielperna84/custom_homematic";
homepage = "https://github.com/SukramJ/custom_homematic";
maintainers = with lib.maintainers; [ dotlambda ];
license = lib.licenses.mit;
};
Expand Down

0 comments on commit 0654d1d

Please sign in to comment.