1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pyserial, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "aioserial"; 11 version = "1.3.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-cCvwOw64S47y2NrFy5JeHmhdzpj3exJVabxv0rO1gig="; 19 }; 20 21 propagatedBuildInputs = [ pyserial ]; 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}