anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / intellifire4py / default.nix
blob5984654c7be32859b9ed6c81c7bf806eba5c5392
2   lib,
3   aenum,
4   buildPythonPackage,
5   fetchFromGitHub,
6   aiohttp,
7   aioresponses,
8   poetry-core,
9   pydantic,
10   pytest-asyncio,
11   pytest-httpx,
12   pytestCheckHook,
13   pythonOlder,
14   rich,
17 buildPythonPackage rec {
18   pname = "intellifire4py";
19   version = "4.1.9";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchFromGitHub {
25     owner = "jeeftor";
26     repo = "intellifire4py";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-dMhm2gntLV7ev6UIfHFMATytZo5blTlALuh9sBirkqI=";
29   };
31   nativeBuildInputs = [ poetry-core ];
33   propagatedBuildInputs = [
34     aiohttp
35     aenum
36     pydantic
37     rich
38   ];
40   nativeCheckInputs = [
41     aioresponses
42     pytest-asyncio
43     pytest-httpx
44     pytestCheckHook
45   ];
47   pythonImportsCheck = [ "intellifire4py" ];
49   meta = with lib; {
50     description = "Module to read Intellifire fireplace status data";
51     mainProgram = "intellifire4py";
52     homepage = "https://github.com/jeeftor/intellifire4py";
53     changelog = "https://github.com/jeeftor/intellifire4py/releases/tag/v${version}";
54     license = with licenses; [ mit ];
55     maintainers = with maintainers; [ fab ];
56   };