blob: e0cc2e089ea3369a8492273b5a1fb0750b2b5c1a (
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
50
51
|
{
aiofiles,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
getmac,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "python-pooldose";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lmaertin";
repo = "python-pooldose";
tag = version;
hash = "sha256-zOl+c/bJmCH3ZUKcZDbRhnfctiQoq6z+C6LGHN6Jrhc=";
};
postPatch = ''
rm -r src/pooldose/values/__pycache__
'';
build-system = [ setuptools ];
dependencies = [
aiofiles
aiohttp
getmac
];
pythonImportsCheck = [ "pooldose" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/lmaertin/python-pooldose/blob/${src.tag}/CHANGELOG.md";
description = "Unoffical async Python client for SEKO PoolDose devices";
homepage = "https://github.com/lmaertin/python-pooldose";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|