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