guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#45449] [PATCH v2] gnu: Add python-serial.


From: phodina
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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]