Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / incomfort-client / default.nix
blob496c9848891034716509afca90eb7ecfbcf763dd
1 { lib
2 , aiohttp
3 , aioresponses
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pytest-asyncio
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "incomfort-client";
13   version = "0.5.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "zxdavb";
20     repo = pname;
21     rev = "refs/tags/${version}";
22     hash = "sha256-kdPue3IfF85O+0dgvX+dN6S4WoQmjxdCfwfv83SnO8E=";
23   };
25   propagatedBuildInputs = [
26     aiohttp
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   checkInputs = [
34     aioresponses
35     pytest-asyncio
36   ];
38   pythonImportsCheck = [
39     "incomfortclient"
40   ];
42   meta = with lib; {
43     description = "Python module to poll Intergas boilers via a Lan2RF gateway";
44     homepage = "https://github.com/zxdavb/incomfort-client";
45     license = with licenses; [ mit ];
46     maintainers = with maintainers; [ fab ];
47   };