at 23.05-pre 1.2 kB view raw
1{ lib 2, aiohttp 3, aiosqlite 4, asynctest 5, buildPythonPackage 6, crccheck 7, cryptography 8, freezegun 9, fetchFromGitHub 10, pycryptodome 11, pyserial-asyncio 12, pytest-asyncio 13, pytest-timeout 14, pytestCheckHook 15, pythonOlder 16, voluptuous 17}: 18 19buildPythonPackage rec { 20 pname = "zigpy"; 21 version = "0.51.5"; 22 format = "setuptools"; 23 24 disabled = pythonOlder "3.7"; 25 26 src = fetchFromGitHub { 27 owner = "zigpy"; 28 repo = "zigpy"; 29 rev = "refs/tags/${version}"; 30 hash = "sha256-6OSP23lEdl15IjSqGYLCW5+F6rki+rzmXm82QRzabwU="; 31 }; 32 33 propagatedBuildInputs = [ 34 aiohttp 35 aiosqlite 36 crccheck 37 cryptography 38 pyserial-asyncio 39 pycryptodome 40 voluptuous 41 ]; 42 43 checkInputs = [ 44 asynctest 45 freezegun 46 pytest-asyncio 47 pytest-timeout 48 pytestCheckHook 49 ]; 50 51 pythonImportsCheck = [ 52 "zigpy.application" 53 "zigpy.config" 54 "zigpy.exceptions" 55 "zigpy.types" 56 "zigpy.zcl" 57 ]; 58 59 meta = with lib; { 60 description = "Library implementing a ZigBee stack"; 61 homepage = "https://github.com/zigpy/zigpy"; 62 license = licenses.gpl3Plus; 63 maintainers = with maintainers; [ mvnetbiz ]; 64 platforms = platforms.linux; 65 }; 66}