blob: 973bfc07193a912e03286d07e10bdc9560f47143 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools-scm,
# dependencies
pyserial,
}:
buildPythonPackage rec {
pname = "adafruit-board-toolkit";
version = "1.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "adafruit";
repo = "Adafruit_Board_Toolkit";
tag = version;
hash = "sha256-xpz4+dGFcO/R/aBHub00N0oFS4w0prJl304PnbUKvAI=";
};
build-system = [
setuptools-scm
];
dependencies = [
pyserial
];
# Project has not published tests yet
doCheck = false;
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 ];
};
}
|