blob: 221557de1602484e45cd30f16aa8110cdd95279d (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "dropmqttapi";
version = "1.0.2";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ChandlerSystems";
repo = "dropmqttapi";
rev = "refs/tags/v${version}";
hash = "sha256-5UnjIv57b4JV/vFyQpe+AS4e/fiE2y7ynZx5g6+oSyQ=";
};
nativeBuildInputs = [
setuptools
];
# Module has no test
doCheck = false;
pythonImportsCheck = [
"dropmqttapi"
];
meta = with lib; {
description = "Python MQTT API for DROP water management products";
homepage = "https://github.com/ChandlerSystems/dropmqttapi";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|