Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 33 lines 773 B view raw
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.12.0"; 15 16 src = fetchFromGitHub { 17 owner = "zigpy"; 18 repo = pname; 19 rev = version; 20 sha256 = "sha256-d/yAk8owMu+J1BzlwR5mzF9HkXiE6Kc81AznvsAboy8="; 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}