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