blob: 44af3188b211986f31cca5af3028c4c5ddf4803e (
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
|
{
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
paho-mqtt,
voluptuous,
}:
buildPythonPackage rec {
pname = "pypglab";
version = "0.0.5";
pyproject = true;
src = fetchFromGitHub {
owner = "pglab-electronics";
repo = "pypglab";
tag = version;
hash = "sha256-nnLGFVV+aWkaE7RnAzLHji/tKxIiA9qJS/BUTv3KNeo=";
};
build-system = [ hatchling ];
dependencies = [
voluptuous
paho-mqtt
];
pythonImportsCheck = [ "pypglab" ];
# tests require physical hardware
doCheck = false;
meta = {
description = "Asynchronous Python library to communicate with PG LAB Electronics devices over MQTT";
homepage = "https://github.com/pglab-electronics/pypglab";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|