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