Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 52 lines 955 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, click 5, click-log 6, pure-pcapy3 7, pyserial-asyncio 8, voluptuous 9, zigpy 10, asynctest 11, pytestCheckHook 12, pytest-asyncio 13}: 14 15buildPythonPackage rec { 16 pname = "bellows"; 17 version = "0.24.0"; 18 19 src = fetchFromGitHub { 20 owner = "zigpy"; 21 repo = "bellows"; 22 rev = version; 23 sha256 = "00sa4x1qzv861z9d83lk4lp1g2pqiv9hpawj92w4qn1wnqxbz6rw"; 24 }; 25 26 prePatch = '' 27 substituteInPlace setup.py \ 28 --replace "click-log==0.2.1" "click-log>=0.2.1" 29 ''; 30 31 propagatedBuildInputs = [ 32 click 33 click-log 34 pure-pcapy3 35 pyserial-asyncio 36 voluptuous 37 zigpy 38 ]; 39 40 checkInputs = [ 41 asynctest 42 pytestCheckHook 43 pytest-asyncio 44 ]; 45 46 meta = with lib; { 47 description = "A Python 3 project to implement EZSP for EmberZNet devices"; 48 homepage = "https://github.com/zigpy/bellows"; 49 license = licenses.gpl3Plus; 50 maintainers = with maintainers; [ etu mvnetbiz ]; 51 }; 52}