1{ lib
2, aiohttp
3, aresponses
4, asynctest
5, buildPythonPackage
6, fetchFromGitHub
7, poetry-core
8, pytest-aiohttp
9, pytest-asyncio
10, pytestCheckHook
11, python-engineio
12, python-socketio
13, pythonOlder
14, websocket-client
15}:
16
17buildPythonPackage rec {
18 pname = "zwave-me-ws";
19 version = "0.3.0";
20 format = "pyproject";
21
22 disabled = pythonOlder "3.8";
23
24 src = fetchFromGitHub {
25 owner = "Z-Wave-Me";
26 repo = pname;
27 rev = "refs/tags/v${version}";
28 sha256 = "sha256-M/+ij6Xjx3irZRAFlHBF+0JHaVpY+kG2i5OISneVjws=";
29 };
30
31 nativeBuildInputs = [
32 poetry-core
33 ];
34
35 propagatedBuildInputs = [
36 websocket-client
37 ];
38
39 # Module has no tests
40 doCheck = false;
41
42 pythonImportsCheck = [
43 "zwave_me_ws"
44 ];
45
46 meta = with lib; {
47 description = "Library to connect to a ZWave-Me instance";
48 homepage = "https://github.com/Z-Wave-Me/zwave-me-ws";
49 license = with licenses; [ mit ];
50 maintainers = with maintainers; [ fab ];
51 };
52}