blob: 5ec7c0d89948b4f4c89d25ace99f2344abf57272 (
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
|
{
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
lib,
poetry-core,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "vegehub";
version = "0.1.26";
pyproject = true;
src = fetchFromGitHub {
owner = "Thulrus";
repo = "VegeHubPyPiLib";
tag = "V${version}";
hash = "sha256-OrHUT1WchsaoPNFBZn74jpihd8I/R1RB0+KZRKg9Zrs=";
};
postPatch = ''
rm -r dist
'';
build-system = [ poetry-core ];
dependencies = [
aiohttp
];
pythonImportsCheck = [ "vegehub" ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/Thulrus/VegeHubPyPiLib/releases/tag/${src.tag}";
description = "Basic package for simplifying interactions with the Vegetronix VegeHub";
homepage = "https://github.com/Thulrus/VegeHubPyPiLib";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|