blob: 9e30e92a851be3aab6aac54a8ea365a58e20f3a5 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
attrs,
paho-mqtt,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "elkoep-aio-mqtt";
version = "0.1.0.beta.4";
pyproject = true;
src = fetchFromGitHub {
owner = "epdevlab";
repo = "elkoep-aio-mqtt";
tag = "0.1.0.beta.4";
hash = "sha256-pQzM0wLLZk6cEizhDqLbVF4pMeyefgSUU0ay3CiGgAE=";
};
build-system = [ setuptools ];
dependencies = [
attrs
paho-mqtt
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "inelsmqtt" ];
meta = {
description = "Python library for iNELS mqtt protocol";
homepage = "https://github.com/epdevlab/elkoep-aio-mqtt";
changelog = "https://github.com/epdevlab/elkoep-aio-mqtt/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|