1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyserial 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aioserial"; 10 version = "1.3.0"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "080j3ws3j2arj2f16mzqn1qliy0bzmb0gzk5jvm5ldkhsf1s061h"; 17 }; 18 19 propagatedBuildInputs = [ 20 pyserial 21 ]; 22 23 # Project has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "aioserial" ]; 27 28 meta = with lib; { 29 description = "Python module for async serial communication"; 30 homepage = "https://github.com/changyuheng/aioserial"; 31 license = licenses.mpl20; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}