Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / intellifire4py / default.nix
blobff7dad6f0be0a36916b73c613f0a21b905165794
1 { lib
2 , aenum
3 , buildPythonPackage
4 , fetchFromGitHub
5 , httpx
6 , poetry-core
7 , pydantic
8 , pytest-asyncio
9 , pytest-httpx
10 , pytestCheckHook
11 , pythonOlder
12 , rich
15 buildPythonPackage rec {
16   pname = "intellifire4py";
17   version = "3.1.30";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "jeeftor";
24     repo = pname;
25     rev = "refs/tags/v${version}";
26     hash = "sha256-CIcudKyRPVJX6QvWk6dBbYnO5EULREDhaflJTAfJEvc=";
27   };
29   nativeBuildInputs = [
30     poetry-core
31   ];
33   propagatedBuildInputs = [
34     aenum
35     httpx
36     pydantic
37     rich
38   ];
40   pythonImportsCheck = [
41     "intellifire4py"
42   ];
43   nativeCheckInputs = [
44     pytest-asyncio
45     pytest-httpx
46     pytestCheckHook
47   ];
49   meta = with lib; {
50     description = "Module to read Intellifire fireplace status data";
51     homepage = "https://github.com/jeeftor/intellifire4py";
52     changelog = "https://github.com/jeeftor/intellifire4py/blob/${version}/CHANGELOG";
53     license = with licenses; [ mit ];
54     maintainers = with maintainers; [ fab ];
55   };