1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pyserial, 7}: 8 9buildPythonPackage rec { 10 pname = "asyncserial"; 11 version = "1.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "m-labs"; 16 repo = "asyncserial"; 17 tag = version; 18 hash = "sha256-ZHzgJnbsDVxVcp09LXq9JZp46+dorgdP8bAiTB59K28="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ pyserial ]; 24 25 pythonImportsCheck = [ "asyncserial" ]; 26 27 meta = { 28 description = "asyncio support for pyserial"; 29 homepage = "https://github.com/m-labs/asyncserial"; 30 license = lib.licenses.bsd2; 31 maintainers = with lib.maintainers; [ doronbehar ]; 32 }; 33}