Files
nixpkgs/pkgs/development/python-modules/binho-host-adapter/default.nix
2026-06-06 02:37:38 +07:00

36 lines
767 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pyserial,
}:
buildPythonPackage (finalAttrs: {
pname = "binho-host-adapter";
version = "0.1.6";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-Hm2nqE4gjBO19IkGbwV3S/8dWT0PW/HKFJwrjoPq6FY=";
};
build-system = [ setuptools ];
dependencies = [ pyserial ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "binhoHostAdapter" ];
meta = {
description = "Python library for Binho Multi-Protocol USB Host Adapters";
homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
})