From: qblade via Guix-patches via <guix-patches@gnu.org>
To: 46746@debbugs.gnu.org
Subject: [bug#46746] [PATCH] gnu: add python-esptool
Date: Wed, 24 Feb 2021 11:41:34 +0000 [thread overview]
Message-ID: <wS5kAqiLwointpfvYZ1w6sbzUCFb20EKtQI4fdz-YGIZ4M5QiEEd95sGVRJrKb-Y9PDM-Tw8PjlTdrxeRuE8Bu8Iv4cuRnn8Vit6U5J0lZw=@protonmail.com> (raw)
[-- 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
next reply other threads:[~2021-02-24 11:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-24 11:41 qblade via Guix-patches via [this message]
2021-02-25 9:46 ` bug#46746: [PATCH] gnu: add python-esptool Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='wS5kAqiLwointpfvYZ1w6sbzUCFb20EKtQI4fdz-YGIZ4M5QiEEd95sGVRJrKb-Y9PDM-Tw8PjlTdrxeRuE8Bu8Iv4cuRnn8Vit6U5J0lZw=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=46746@debbugs.gnu.org \
--cc=qblade@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.