1{
2 aiofiles,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 lib,
7 pytest-asyncio,
8 pytestCheckHook,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "python-pooldose";
14 version = "0.6.0";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "lmaertin";
19 repo = "python-pooldose";
20 tag = version;
21 hash = "sha256-hKZOOeTigK8E+MAq5+zUmdWwGrAn+0ZGmOn66QTU1RM=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 aiofiles
28 aiohttp
29 ];
30
31 pythonImportsCheck = [ "pooldose" ];
32
33 nativeCheckInputs = [
34 pytest-asyncio
35 pytestCheckHook
36 ];
37
38 meta = {
39 changelog = "https://github.com/lmaertin/python-pooldose/blob/${src.tag}/CHANGELOG.md";
40 description = "Unoffical async Python client for SEKO PoolDose devices";
41 homepage = "https://github.com/lmaertin/python-pooldose";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ dotlambda ];
44 };
45}