Add adafruit board toolkit (#353849)
This commit is contained in:
@@ -21638,6 +21638,17 @@
|
||||
githubId = 6064962;
|
||||
name = "TakWolf";
|
||||
};
|
||||
talhaHavadar = {
|
||||
email = "havadartalha@gmail.com";
|
||||
github = "talhaHavadar";
|
||||
githubId = 6908462;
|
||||
name = "Talha Can Havadar";
|
||||
keys = [
|
||||
{
|
||||
fingerprint = "1E13 12DF 4B71 58B6 EBF9 DE78 2574 3879 62FE B0D1";
|
||||
}
|
||||
];
|
||||
};
|
||||
talkara = {
|
||||
email = "taito.horiuchi@relexsolutions.com";
|
||||
github = "talkara";
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
# build-system
|
||||
setuptools-scm,
|
||||
# dependencies
|
||||
pyserial,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "adafruit-board-toolkit";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-k8TwmztGnCqS6F5ZrXSBnefZzc2kvuUqYxGAejRAdsI=";
|
||||
};
|
||||
|
||||
# Project has not published tests yet
|
||||
doCheck = false;
|
||||
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pyserial
|
||||
];
|
||||
pythonImportsCheck = [ "adafruit_board_toolkit" ];
|
||||
meta = {
|
||||
description = "CircuitPython board identification and information";
|
||||
homepage = "https://github.com/adafruit/Adafruit_Board_Toolkit";
|
||||
changelog = "https://github.com/adafruit/Adafruit_Board_Toolkit/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ talhaHavadar ];
|
||||
};
|
||||
}
|
||||
@@ -55,6 +55,8 @@ self: super: with self; {
|
||||
|
||||
adafruit-io = callPackage ../development/python-modules/adafruit-io { };
|
||||
|
||||
adafruit-board-toolkit = callPackage ../development/python-modules/adafruit-board-toolkit { };
|
||||
|
||||
adafruit-platformdetect = callPackage ../development/python-modules/adafruit-platformdetect { };
|
||||
|
||||
adafruit-pureio = callPackage ../development/python-modules/adafruit-pureio { };
|
||||
|
||||
Reference in New Issue
Block a user