-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add adafruit board toolkit (#353849)
- Loading branch information
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21638,6 +21638,17 @@ | |
githubId = 6064962; | ||
name = "TakWolf"; | ||
}; | ||
talhaHavadar = { | ||
email = "[email protected]"; | ||
github = "talhaHavadar"; | ||
githubId = 6908462; | ||
name = "Talha Can Havadar"; | ||
keys = [ | ||
{ | ||
fingerprint = "1E13 12DF 4B71 58B6 EBF9 DE78 2574 3879 62FE B0D1"; | ||
} | ||
]; | ||
}; | ||
talkara = { | ||
email = "[email protected]"; | ||
github = "talkara"; | ||
|
42 changes: 42 additions & 0 deletions
42
pkgs/development/python-modules/adafruit-board-toolkit/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters