nixpkgs/pkgs/development/python-modules/adafruit-board-toolkit/default.nix
Talha Can Havadar f0fa6364de
python3Packages.adafruit-board-toolkit: init at 1.1.1
Apply suggestions from code review

Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
2024-12-04 12:32:58 +01:00

43 lines
919 B
Nix

{
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 ];
};
}