all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#46746] [PATCH] gnu: add python-esptool
@ 2021-02-24 11:41 qblade via Guix-patches via
  2021-02-25  9:46 ` bug#46746: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: qblade via Guix-patches via @ 2021-02-24 11:41 UTC (permalink / raw)
  To: 46746

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-add-python-esptool.patch --]
[-- Type: text/x-patch; name=0001-gnu-add-python-esptool.patch, Size: 2315 bytes --]

From aa87fca639c6caefa0dee22a76af8d3dbc0206a0 Mon Sep 17 00:00:00 2001
From: qblade <qblade@protonmail.com>
Date: Tue, 23 Feb 2021 01:13:09 +0000
Subject: [PATCH] gnu: add python-esptool

* gnu/packages/engineering.scm (python-esptool-3.0): New variable.
---
 gnu/packages/engineering.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 11585f6234..36969e00e0 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
+;;; Copyright © 2021 qblade <qblade@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -106,6 +107,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
@@ -2996,3 +2998,32 @@ and drilling of PCBs.  It takes Gerber files as input and outputs G-code files
 for the milling of PCBs.  It also includes an autoleveller for the automatic
 dynamic calibration of the milling depth.")
      (license license:gpl3+)))
+
+(define-public python-esptool-3.0
+  (package
+    (name "python-esptool")
+    (version "3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "esptool" version))
+       (sha256
+        (base32
+         "0d69rd9h8wrzjvfrc66vmz4qd5hly2fpdcwj2bdrlb7dbwikv5c7"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))
+    (propagated-inputs
+     `(("python-ecdsa" ,python-ecdsa)
+       ("python-pyaes" ,python-pyaes)
+       ("python-pyserial" ,python-pyserial)))
+    (home-page
+     "https://github.com/espressif/esptool")
+    (synopsis
+     "Serial utility to communicate & flash code to
+Espressif ESP8266 & ESP32 chips")
+    (description
+     "Python-based, open source, platform independent,
+utility to communicate with the ROM bootloader
+in Espressif ESP8266 & ESP32 series chips.")
+    (license license:gpl2+)))
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#46746: [PATCH] gnu: add python-esptool
  2021-02-24 11:41 [bug#46746] [PATCH] gnu: add python-esptool qblade via Guix-patches via
@ 2021-02-25  9:46 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-02-25  9:46 UTC (permalink / raw)
  To: qblade via Guix-patches via; +Cc: qblade, 46746-done

Hello,

Thank you. I applied the patch with minor modifications.

qblade via Guix-patches via <guix-patches@gnu.org> writes:

> +    (arguments
> +     `(#:tests? #f))

I added a comment explaining why the tests were skipped. In this case,
we do not provide python-reedsolo library yet.

> +    (synopsis
> +     "Serial utility to communicate & flash code to
> +Espressif ESP8266 & ESP32 chips")

I shortened the synopsis.

> +    (description
> +     "Python-based, open source, platform independent,
> +utility to communicate with the ROM bootloader
> +in Espressif ESP8266 & ESP32 series chips.")

I wrote a full sentence, and remove "open source", and "platform
independant" from it.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-25  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 11:41 [bug#46746] [PATCH] gnu: add python-esptool qblade via Guix-patches via
2021-02-25  9:46 ` bug#46746: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.