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