summaryrefslogtreecommitdiff
path: root/bd/python-platformio-core.scm
blob: 14a9a6417246597f7052585babdc39865f7a76e5 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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