d57b7c38d0
Diff: https://github.com/zxdavb/incomfort-client/compare/refs/tags/v0.5.0...v0.6.1 Changelog: https://github.com/jbouwh/incomfort-client/releases/tag/v0.6.1
47 lines
1001 B
Nix
47 lines
1001 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "incomfort-client";
|
|
version = "0.6.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zxdavb";
|
|
repo = "incomfort-client";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-kdPue3IfF85O+0dgvX+dN6S4WoQmjxdCfwfv83SnO8E=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "incomfortclient" ];
|
|
|
|
meta = with lib; {
|
|
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/v${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|