1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchFromGitHub
5, pythonOlder
6, xmltodict
7}:
8
9buildPythonPackage rec {
10 pname = "aioeagle";
11 version = "1.1.0";
12
13 disabled = pythonOlder "3.8";
14
15 src = fetchFromGitHub {
16 owner = "home-assistant-libs";
17 repo = pname;
18 rev = version;
19 sha256 = "117nb50cxwrixif2r6fxmr9v0jxkcamm816v48hbhyc660w6xvk4";
20 };
21
22 propagatedBuildInputs = [
23 aiohttp
24 xmltodict
25 ];
26
27 # Project has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "aioeagle" ];
31
32 meta = with lib; {
33 description = "Python library to control EAGLE-200";
34 homepage = "https://github.com/home-assistant-libs/aioeagle";
35 changelog = "https://github.com/home-assistant-libs/aioshelly/releases/tag/${version}";
36 license = with licenses; [ asl20 ];
37 maintainers = with maintainers; [ fab ];
38 };
39}