saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / dio-chacon-wifi-api / default.nix
blob216ab021089745b1c19668d87e5ac9f029938c6e
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   poetry-core,
9   # dependencies
10   aiohttp,
12   # tests
13   aioresponses,
14   pytest-aiohttp,
15   pytestCheckHook,
18 buildPythonPackage rec {
19   pname = "dio-chacon-wifi-api";
20   version = "1.2.1";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "cnico";
25     repo = "dio-chacon-wifi-api";
26     tag = "v${version}";
27     hash = "sha256-4qE4laKQyfnAq2f/bkAqIfY/LnEmW+LTvNOCkTNFbAo=";
28   };
30   build-system = [ poetry-core ];
32   dependencies = [ aiohttp ];
34   nativeCheckInputs = [
35     aioresponses
36     pytest-aiohttp
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [ "dio_chacon_wifi_api" ];
42   meta = with lib; {
43     description = "Python API via wifi for DIO devices from Chacon. Useful for homeassistant or other automations";
44     homepage = "https://github.com/cnico/dio-chacon-wifi-api";
45     license = licenses.gpl3Only;
46     maintainers = with maintainers; [ hexa ];
47   };