1{ lib
2, buildPythonPackage
3, click
4, click-log
5, fetchFromGitHub
6, pure-pcapy3
7, pyserial-asyncio
8, pytest-asyncio
9, pytest-timeout
10, pytestCheckHook
11, pythonOlder
12, voluptuous
13, zigpy
14}:
15
16buildPythonPackage rec {
17 pname = "bellows";
18 version = "0.36.8";
19 format = "setuptools";
20
21 disabled = pythonOlder "3.8";
22
23 src = fetchFromGitHub {
24 owner = "zigpy";
25 repo = "bellows";
26 rev = "refs/tags/${version}";
27 hash = "sha256-+p3As+fi6mw9i5q2klFTM9QQ2JoQarwrphc6tB6C94M=";
28 };
29
30 propagatedBuildInputs = [
31 click
32 click-log
33 pure-pcapy3
34 pyserial-asyncio
35 voluptuous
36 zigpy
37 ];
38
39 nativeCheckInputs = [
40 pytestCheckHook
41 pytest-asyncio
42 pytest-timeout
43 ];
44
45 pythonImportsCheck = [
46 "bellows"
47 ];
48
49 meta = with lib; {
50 description = "Python module to implement EZSP for EmberZNet devices";
51 homepage = "https://github.com/zigpy/bellows";
52 changelog = "https://github.com/zigpy/bellows/releases/tag/${version}";
53 license = licenses.gpl3Plus;
54 maintainers = with maintainers; [ mvnetbiz ];
55 };
56}