Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 928 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, click, click-log, pure-pcapy3 3, pyserial, pyserial-asyncio, voluptuous, zigpy 4, asynctest, pytest, pytest-asyncio }: 5 6let 7 pname = "bellows"; 8 version = "0.18.1"; 9 10in buildPythonPackage rec { 11 inherit pname version; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "6a2e323c2be6f10a8e99fffccb5670bc77bbddb7b5bd9253b69021120f2ab9d7"; 16 }; 17 18 propagatedBuildInputs = [ 19 click click-log pure-pcapy3 pyserial pyserial-asyncio voluptuous zigpy 20 ]; 21 22 checkInputs = [ 23 asynctest pytest pytest-asyncio 24 ]; 25 26 prePatch = '' 27 substituteInPlace setup.py \ 28 --replace "click-log==0.2.0" "click-log>=0.2.0" 29 ''; 30 31 meta = with stdenv.lib; { 32 description = "A Python 3 project to implement EZSP for EmberZNet devices"; 33 homepage = "https://github.com/zigpy/bellows"; 34 license = licenses.gpl3Plus; 35 maintainers = with maintainers; [ etu mvnetbiz ]; 36 }; 37}