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