Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 67 lines 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.52.3"; 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-axk6C8RLuoKWUdJ3sOklWqnlYTWKTaQh51eWZm2Dy+0="; 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 changelog = "https://github.com/zigpy/zigpy/releases/tag/${version}"; 63 license = licenses.gpl3Plus; 64 maintainers = with maintainers; [ mvnetbiz ]; 65 platforms = platforms.linux; 66 }; 67}