1{
2 lib,
3 aiohttp,
4 awsiotsdk,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pyopenssl,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "thinqconnect";
14 version = "1.0.8";
15 pyproject = true;
16
17 disabled = pythonOlder "3.10";
18
19 src = fetchFromGitHub {
20 owner = "thinq-connect";
21 repo = "pythinqconnect";
22 tag = version;
23 hash = "sha256-TKKqZKluTF7Ysd/1ovWntynQ93WTRtMJY1olRztT5a0=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 aiohttp
30 awsiotsdk
31 pyopenssl
32 ];
33
34 # Module has no tests
35 doCheck = false;
36
37 pythonImportsCheck = [ "thinqconnect" ];
38
39 meta = {
40 changelog = "https://github.com/thinq-connect/pythinqconnect/blob/${src.tag}/RELEASE_NOTES.md";
41 description = "Module to interacting with the LG ThinQ Connect Open API";
42 homepage = "https://github.com/thinq-connect/pythinqconnect";
43 license = lib.licenses.asl20;
44 maintainers = with lib.maintainers; [ fab ];
45 };
46}