GNU bug report logs - #45449
[PATCH] Adds python-serial

Previous Next

Package: guix-patches;

Reported by: rdes <rdes <at> protonmail.com>

Date: Sat, 26 Dec 2020 18:16:02 UTC

Severity: normal

Tags: patch

Done: Bruno Victal <mirai <at> makinata.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: phodina <phodina <at> protonmail.com>
To: "45449 <at> debbugs.gnu.org" <45449 <at> debbugs.gnu.org>
Subject: [bug#45449] [PATCH v2] gnu: Add python-serial.
Date: Wed, 03 Nov 2021 08:45:29 +0000
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 <at> qq.com>
 ;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith <at> outlook.com>
 ;;; Copyright © 2020 EuAndreh <eu <at> euandre.org>
+;;; Copyright © 2020 Ryan Desfosses <rdes <at> protonmail.com>
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2021 Ellis Kenyő <me <at> elken.dev>
 ;;; Copyright © 2021 LibreMiami <packaging-guix <at> 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




This bug report was last modified 2 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.