1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 paho-mqtt,
7 requests,
8 urllib3,
9}:
10
11buildPythonPackage rec {
12 pname = "pyworxcloud";
13 version = "4.1.43";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "MTrab";
18 repo = "pyworxcloud";
19 tag = "v${version}";
20 hash = "sha256-DMkyek9Y3vQnzcds5MUALVH3o1dW6X6eIkurFC8rLO4=";
21 };
22
23 build-system = [ poetry-core ];
24
25 dependencies = [
26 paho-mqtt
27 requests
28 urllib3
29 ];
30
31 pythonImportsCheck = [ "pyworxcloud" ];
32
33 # Module has no tests
34 doCheck = false;
35
36 meta = {
37 description = "Module for integrating with Worx Cloud devices";
38 homepage = "https://github.com/MTrab/pyworxcloud";
39 changelog = "https://github.com/MTrab/pyworxcloud/releases/tag/${src.tag}";
40 license = with lib.licenses; [
41 gpl3Only
42 mit
43 ];
44 maintainers = with lib.maintainers; [ fab ];
45 };
46}