From 7cc4a096ea565850fdb80dd8c5103fa3d0fe3ae2 Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 7 Nov 2025 13:58:51 -0500 Subject: init --- bd/python-platformio-core.scm | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 bd/python-platformio-core.scm (limited to 'bd/python-platformio-core.scm') diff --git a/bd/python-platformio-core.scm b/bd/python-platformio-core.scm new file mode 100644 index 0000000..14a9a64 --- /dev/null +++ b/bd/python-platformio-core.scm @@ -0,0 +1,86 @@ +(define-module (bd python-platformio-core) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) + #:use-module (gnu packages less) + #:use-module (gnu packages check) + #:use-module (guix packages) + #:use-module (gnu packages python) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages python-build) + #:use-module (guix gexp) + #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) + #:use-module (guix download) + #:use-module (guix git-download) + #:export (python-platformio-core)) + +;;; Commentary: +;;; provides platformio-core, embedded software development toolchain +;;; Code: + + +(define-public python-click8.1.7 + (package + (name "python-click") + (version "8.1.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "click" version)) + (sha256 + (base32 "1pm6khdv88h764scik67jki98xbyj367h591j8hpwy4y8nnm766a")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) + (native-inputs (list python-pytest)) + (home-page "https://palletsprojects.com/p/click/") + (synopsis "Command line library for Python") + (description + "Click is a Python package for creating command line interfaces in a +composable way with as little code as necessary. Its name stands for +\"Command Line Interface Creation Kit\". It's highly configurable but comes +with sensible defaults out of the box.") + (license license:bsd-3))) + + +(define-public python-platformio-core + (package + (name "python-platformio-core") + (version "6.1.18") + (source + (origin + (method url-fetch) + (uri (pypi-uri "platformio" version)) + (sha256 + (base32 "1in7rivw52pzyk2kll4fvm1k525zmc8sx9mgg0ijgid3zdk9r8bf")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) + (native-inputs (list python-setuptools + python-wsproto + python-uvicorn + python-starlette + python-ajsonrpc + python-tabulate + python-semantic-version + python-pyserial + python-pyelftools + python-marshmallow-3 + python-colorama + python-click8.1.7 + python-bottle)) + (home-page "https://platformio.org/") + (synopsis "Your Gateway to Embedded Software Development Excellence") + (description + "Unlock the true potential of embedded software development with PlatformIO's collaborative ecosystem, embracing declarative principles, test-driven methodologies, and modern toolchains for unrivaled success.") + (license license:asl2.0))) + +python-platformio-core + +;;; python-platformio-core.scm ends here -- cgit v1.2.3