python3Packages.binho-host-adapter: init at 0.1.6

This commit is contained in:
Fabian Affolter 2021-01-21 19:04:43 +01:00
parent dd3238c002
commit ae0ea7ed20
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyserial
}:
buildPythonPackage rec {
pname = "binho-host-adapter";
version = "0.1.6";
src = fetchPypi {
inherit pname version;
sha256 = "0mp8xa1qwaww2k5g2nqg7mcivzsbfw2ny1l9yjsi73109slafv8y";
};
propagatedBuildInputs = [ pyserial ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "binhoHostAdapter" ];
meta = with lib; {
description = "Python library for Binho Multi-Protocol USB Host Adapters";
homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -913,6 +913,8 @@ in {
binaryornot = callPackage ../development/python-modules/binaryornot { };
binho-host-adapter = callPackage ../development/python-modules/binho-host-adapter { };
binwalk = callPackage ../development/python-modules/binwalk {
pyqtgraph = null;
matplotlib = null;