mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-28 21:15:57 +00:00
36 lines
767 B
Nix
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 ];
|
|
};
|
|
})
|