1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyserial 5}: 6 7buildPythonPackage rec { 8 pname = "binho-host-adapter"; 9 version = "0.1.6"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0mp8xa1qwaww2k5g2nqg7mcivzsbfw2ny1l9yjsi73109slafv8y"; 14 }; 15 16 propagatedBuildInputs = [ pyserial ]; 17 18 # Project has no tests 19 doCheck = false; 20 pythonImportsCheck = [ "binhoHostAdapter" ]; 21 22 meta = with lib; { 23 description = "Python library for Binho Multi-Protocol USB Host Adapters"; 24 homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect"; 25 license = with licenses; [ mit ]; 26 maintainers = with maintainers; [ fab ]; 27 }; 28}