1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchPypi
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "aioaladdinconnect";
10 version = "0.1.47";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 pname = "AIOAladdinConnect";
17 inherit version;
18 hash = "sha256-1q5CX5vtdK+rNDE6GtIobuacv6dkHhRJ+kirbX62us8=";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [
29 "AIOAladdinConnect"
30 ];
31
32 meta = with lib; {
33 description = "Library for controlling Genie garage doors connected to Aladdin Connect devices";
34 homepage = "https://github.com/mkmer/AIOAladdinConnect";
35 license = with licenses; [ mit ];
36 maintainers = with maintainers; [ fab ];
37 };
38}