1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pyserial 6}: 7 8buildPythonPackage rec { 9 pname = "pyserial-asyncio"; 10 version = "0.6"; 11 12 disabled = pythonOlder "3.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-tgMpI+BenXXsF6WvmphCnEbSg5rfr4BgTVLg+qzXoy8="; 17 }; 18 19 propagatedBuildInputs = [ 20 pyserial 21 ]; 22 23 __darwinAllowLocalNetworking = true; 24 25 pythonImportsCheck = [ 26 "serial_asyncio" 27 ]; 28 29 meta = with lib; { 30 description = "Asyncio extension package for pyserial"; 31 homepage = "https://github.com/pyserial/pyserial-asyncio"; 32 license = licenses.bsd3; 33 maintainers = with maintainers; [ ]; 34 }; 35}