1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pyserial 5, pyserial-asyncio 6, zigpy 7, pytestCheckHook 8, pytest-asyncio 9, asynctest 10}: 11 12buildPythonPackage rec { 13 pname = "zigpy-deconz"; 14 version = "0.13.0"; 15 16 src = fetchFromGitHub { 17 owner = "zigpy"; 18 repo = pname; 19 rev = version; 20 sha256 = "sha256-9rxdnY5tMtPJLE/lRaphNR1L1vdhAxnIDoh8xCHmzjc="; 21 }; 22 23 propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ]; 24 checkInputs = [ pytestCheckHook pytest-asyncio asynctest ]; 25 26 meta = with lib; { 27 description = "Library which communicates with Deconz radios for zigpy"; 28 homepage = "https://github.com/zigpy/zigpy-deconz"; 29 license = licenses.gpl3Plus; 30 maintainers = with maintainers; [ etu mvnetbiz ]; 31 platforms = platforms.linux; 32 }; 33}