1{ lib
2, aiohttp
3, aiosqlite
4, asynctest
5, buildPythonPackage
6, crccheck
7, fetchFromGitHub
8, pycrypto
9, pycryptodome
10, pytest-aiohttp
11, pytest-asyncio
12, pytestCheckHook
13, tox
14, voluptuous }:
15
16buildPythonPackage rec {
17 pname = "zigpy";
18 version = "0.33.0";
19
20 src = fetchFromGitHub {
21 owner = "zigpy";
22 repo = "zigpy";
23 rev = version;
24 sha256 = "sha256-oEf4GnvbQ6LY4NaNFWRmnNz1TK2tMpIVUxskhU38g4w=";
25 };
26
27 propagatedBuildInputs = [
28 aiohttp
29 aiosqlite
30 crccheck
31 pycrypto
32 pycryptodome
33 voluptuous
34 ];
35
36 checkInputs = [
37 asynctest
38 pytest-aiohttp
39 pytest-asyncio
40 pytestCheckHook
41 ];
42
43 meta = with lib; {
44 description = "Library implementing a ZigBee stack";
45 homepage = "https://github.com/zigpy/zigpy";
46 license = licenses.gpl3Plus;
47 maintainers = with maintainers; [ etu mvnetbiz ];
48 platforms = platforms.linux;
49 };
50}