python310Packages.incomfort-client: 0.4.5 -> 0.5.0

Diff: https://github.com/zxdavb/incomfort-client/compare/refs/tags/0.4.5...0.5.0
This commit is contained in:
Fabian Affolter 2023-02-11 12:40:02 +01:00
parent 39af68a70b
commit 7cee38c2f0

View file

@ -1,29 +1,43 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "incomfort-client";
version = "0.4.5";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "zxdavb";
repo = pname;
rev = version;
sha256 = "0r9f15fcjwhrq6ldji1dzbb76wsvinpkmyyaj7n55rl6ibnsyrwp";
rev = "refs/tags/${version}";
hash = "sha256-kdPue3IfF85O+0dgvX+dN6S4WoQmjxdCfwfv83SnO8E=";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "incomfortclient" ];
nativeCheckInputs = [
pytestCheckHook
];
checkInputs = [
aioresponses
pytest-asyncio
];
pythonImportsCheck = [
"incomfortclient"
];
meta = with lib; {
description = "Python module to poll Intergas boilers via a Lan2RF gateway";