From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "45449@debbugs.gnu.org" <45449@debbugs.gnu.org>
Subject: [bug#45449] [PATCH v2] gnu: Add python-serial.
Date: Wed, 03 Nov 2021 08:45:29 +0000 [thread overview]
Message-ID: <2F4T0FL1OpArIdmKuueSPeyDx6uCe7ox2mc6F0wFR8xTcF4D5uqRruF572ouFHMOQdBJc7jTK0sYVnLWdWTRIpMmU7BMFeQGI6wwf9U9Qjc=@protonmail.com> (raw)
In-Reply-To: <D9k4_yhftAnUjvFdpnx6gnsOEJ_4BkfPLA9Uj85O0Pk6RkJdNemV0xks0kFdtV0f-NhGHD3hlF9sJu1r56gtZP7H1M78phA1MU-fLZM7_vE=@protonmail.com>
Hi Mathieu,
here's the reworked patch.
Petr
--8<---------------cut here---------------start------------->8---
* gnu/packages/python-xyz.scm (python-serial): New variable.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32d6b403d4..35c2bffd47 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -94,6 +94,7 @@
;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 EuAndreh <eu@euandre.org>
+;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
@@ -1645,6 +1646,31 @@ (define-public python-semantic-version
(define-public python2-semantic-version
(package-with-python2 python-semantic-version))
+(define-public python-serial
+ (package
+ (name "python-serial")
+ (version "0.0.97")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "serial" version))
+ (sha256
+ (base32
+ "0j7qjif5d9mxbdwcyyhr7fpcvjq7x16ar9n3mk95xgyx4yhm08al"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-future" ,python-future)
+ ("python-iso8601" ,python-iso8601)
+ ("python-pyyaml" ,python-pyyaml)))
+ (home-page
+ "https://bitbucket.com/davebelais/serial.git")
+ (synopsis
+ "Framework for serializing/deserializing JSON/YAML/XML")
+ (description
+ "This package provides a framework for serializing/deserializing
+JSON/YAML/XML into python class instances and vice versa")
+ (license license:expat)))
+
(define-public python-serpent
(package
(name "python-serpent")
--
2.33.1
next prev parent reply other threads:[~2021-11-03 8:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-26 18:15 [bug#45449] [PATCH] Adds python-serial rdes via Guix-patches via
2021-01-06 10:00 ` Mathieu Othacehe
2021-11-03 8:45 ` phodina via Guix-patches via [this message]
2023-01-16 18:08 ` Maxim Cournoyer
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='2F4T0FL1OpArIdmKuueSPeyDx6uCe7ox2mc6F0wFR8xTcF4D5uqRruF572ouFHMOQdBJc7jTK0sYVnLWdWTRIpMmU7BMFeQGI6wwf9U9Qjc=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=45449@debbugs.gnu.org \
--cc=phodina@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).