Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 73 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, freezegun, orjson, pydevccu, pytest-aiohttp, pytest-socket, pytestCheckHook, python-slugify, pythonOlder, setuptools, voluptuous,}:
buildPythonPackage rec { pname = "hahomematic"; version = "2025.8.3"; pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub { owner = "SukramJ"; repo = "hahomematic"; tag = version; hash = "sha256-BztVWvDUDXTgC1uha7grD4hcWJqKcua4UVgy3KivWSI="; };
__darwinAllowLocalNetworking = true;
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools==80.9.0" "setuptools" \ '';
build-system = [ setuptools ];
dependencies = [ aiohttp orjson python-slugify voluptuous ];
nativeCheckInputs = [ freezegun pydevccu pytest-aiohttp pytest-socket pytestCheckHook ];
disabledTests = [ # AssertionError: assert 548 == 555 "test_central_full" ];
pythonImportsCheck = [ "hahomematic" ];
meta = with lib; { description = "Python module to interact with HomeMatic devices"; homepage = "https://github.com/SukramJ/hahomematic"; changelog = "https://github.com/SukramJ/hahomematic/blob/${src.tag}/changelog.md"; license = licenses.mit; maintainers = with maintainers; [ dotlambda fab ]; };}