blob: c5a776479534eff9e353ba2ebed99884a668d38f (
about) (
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
|
{
aiohttp,
aiomqtt,
buildPythonPackage,
fetchFromGitHub,
lib,
poetry-core,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "letpot";
version = "0.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jpelgrom";
repo = "python-letpot";
tag = "v${version}";
hash = "sha256-xcuBDygUpkPzwdGGG+GLQBaMPpkrj49Y/1KKh6w9jmA=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
aiomqtt
];
pythonImportsCheck = [ "letpot" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/jpelgrom/python-letpot/releases/tag/${src.tag}";
description = "Asynchronous Python client for LetPot hydroponic gardens";
homepage = "https://github.com/jpelgrom/python-letpot";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|