Files
nixpkgs/pkgs/development/python-modules/incomfort-client/default.nix
T
2026-02-03 09:00:11 +01:00

45 lines
979 B
Nix

{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
poetry-core,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "incomfort-client";
version = "0.6.12";
pyproject = true;
src = fetchFromGitHub {
owner = "zxdavb";
repo = "incomfort-client";
tag = "v${finalAttrs.version}";
hash = "sha256-5IP0R7NI+TXBOPwDZ26inVC6YxhYozo4ZM/V7w73EvQ=";
};
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "incomfortclient" ];
meta = {
description = "Python module to poll Intergas boilers via a Lan2RF gateway";
homepage = "https://github.com/zxdavb/incomfort-client";
changelog = "https://github.com/jbouwh/incomfort-client/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})