summaryrefslogtreecommitdiff
path: root/bd/python-platformio-core.scm
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-11-07 13:58:51 -0500
committerbd <bdunahu@operationnull.com>2025-11-07 14:04:29 -0500
commit7cc4a096ea565850fdb80dd8c5103fa3d0fe3ae2 (patch)
tree3e705a309d4df01a889c96895e99a4ee9112453d /bd/python-platformio-core.scm
Diffstat (limited to 'bd/python-platformio-core.scm')
-rw-r--r--bd/python-platformio-core.scm86
1 files changed, 86 insertions, 0 deletions
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