blob: 92e63b6d61fcd7c47efb5ca7f10aaf6cd3894d27 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
poetry-dynamic-versioning,
pytest-asyncio_0,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pybalboa";
version = "1.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "garbled1";
repo = "pybalboa";
# missing tag: https://github.com/garbled1/pybalboa/issues/100
rev = "6aa7e3c401ab03b93c083acdf430afb708e20e9b";
hash = "sha256-xOMbMmTTDDbd0WL0LFJ6lztsQMdI/r9MLhV9DmB6m3I=";
};
build-system = [
poetry-core
poetry-dynamic-versioning
];
nativeCheckInputs = [
pytest-asyncio_0
pytestCheckHook
];
disabledTests = [
# async def functions are not natively supported.
"test_cancel_task"
];
pythonImportsCheck = [ "pybalboa" ];
meta = {
description = "Module to communicate with a Balboa spa wifi adapter";
homepage = "https://github.com/garbled1/pybalboa";
changelog = "https://github.com/garbled1/pybalboa/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|