1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 aiohttp,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "webio-api";
11 version = "0.1.11";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "webio_api";
16 inherit version;
17 hash = "sha256-fPlAWu/P9gOjlQ62qAesLcLkNznAiMAAqxAlQi9oxZk=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ aiohttp ];
23
24 # Package has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "webio_api" ];
28
29 meta = {
30 description = "Simple API to use for communication with WebIO device meant for Home Assistant integration";
31 homepage = "https://github.com/nasWebio/webio_api";
32 license = lib.licenses.mit;
33 maintainers = [ lib.maintainers.jamiemagee ];
34 };
35}