lol

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

+20 -6
+20 -6
pkgs/development/python-modules/incomfort-client/default.nix
··· 1 1 { lib 2 2 , aiohttp 3 + , aioresponses 3 4 , buildPythonPackage 4 5 , fetchFromGitHub 6 + , pytest-asyncio 7 + , pytestCheckHook 5 8 , pythonOlder 6 9 }: 7 10 8 11 buildPythonPackage rec { 9 12 pname = "incomfort-client"; 10 - version = "0.4.5"; 13 + version = "0.5.0"; 14 + format = "setuptools"; 15 + 11 16 disabled = pythonOlder "3.7"; 12 17 13 18 src = fetchFromGitHub { 14 19 owner = "zxdavb"; 15 20 repo = pname; 16 - rev = version; 17 - sha256 = "0r9f15fcjwhrq6ldji1dzbb76wsvinpkmyyaj7n55rl6ibnsyrwp"; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-kdPue3IfF85O+0dgvX+dN6S4WoQmjxdCfwfv83SnO8E="; 18 23 }; 19 24 20 25 propagatedBuildInputs = [ 21 26 aiohttp 22 27 ]; 23 28 24 - # Project has no tests 25 - doCheck = false; 26 - pythonImportsCheck = [ "incomfortclient" ]; 29 + nativeCheckInputs = [ 30 + pytestCheckHook 31 + ]; 32 + 33 + checkInputs = [ 34 + aioresponses 35 + pytest-asyncio 36 + ]; 37 + 38 + pythonImportsCheck = [ 39 + "incomfortclient" 40 + ]; 27 41 28 42 meta = with lib; { 29 43 description = "Python module to poll Intergas boilers via a Lan2RF gateway";