Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / intellifire4py / default.nix
blobccfd6afe3125365c74112e529f8c282cea862502
1 { lib
2 , aenum
3 , buildPythonPackage
4 , fetchFromGitHub
5 , aiohttp
6 , aioresponses
7 , poetry-core
8 , pydantic
9 , pytest-asyncio
10 , pytest-httpx
11 , pytestCheckHook
12 , pythonOlder
13 , rich
16 buildPythonPackage rec {
17   pname = "intellifire4py";
18   version = "4.1.9";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchFromGitHub {
24     owner = "jeeftor";
25     repo = "intellifire4py";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-dMhm2gntLV7ev6UIfHFMATytZo5blTlALuh9sBirkqI=";
28   };
30   nativeBuildInputs = [
31     poetry-core
32   ];
34   propagatedBuildInputs = [
35     aiohttp
36     aenum
37     pydantic
38     rich
39   ];
41   nativeCheckInputs = [
42     aioresponses
43     pytest-asyncio
44     pytest-httpx
45     pytestCheckHook
46   ];
48   pythonImportsCheck = [
49     "intellifire4py"
50   ];
52   meta = with lib; {
53     description = "Module to read Intellifire fireplace status data";
54     mainProgram = "intellifire4py";
55     homepage = "https://github.com/jeeftor/intellifire4py";
56     changelog = "https://github.com/jeeftor/intellifire4py/releases/tag/v${version}";
57     license = with licenses; [ mit ];
58     maintainers = with maintainers; [ fab ];
59   };