blob: 5147224c97bdc944a07a405ad31488d857704492 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
protobuf,
pytest-asyncio,
pytestCheckHook,
zeroconf,
}:
buildPythonPackage rec {
pname = "aiobafi6";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jfroy";
repo = "aiobafi6";
tag = version;
hash = "sha256-7NIpIRVs6PFPByrGfVDA6P7JTvXGrzbH/lOPdPfZH04=";
};
build-system = [ poetry-core ];
dependencies = [
protobuf
zeroconf
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aiobafi6" ];
meta = {
description = "Library for communication with the Big Ass Fans i6 firmware";
homepage = "https://github.com/jfroy/aiobafi6";
changelog = "https://github.com/jfroy/aiobafi6/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "aiobafi6";
};
}
|