From 94c4d73deec179e05d2e8ad26a9ebfacabaf5e47 Mon Sep 17 00:00:00 2001
From: Ryan Desfosses <rdes@protonmail.com>
Date: Sat, 26 Dec 2020 12:48:25 -0500
Subject: [PATCH] gnu: python-serial: New variable.
* gnu/packages/python-xyz.scm (python-serial): New variable.
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
@@ -93,6 +93,7 @@
;;; Copyright © 2020 Diego N. Barbato <dnbarbato@posteo.de>
;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
;;; Copyright © 2019 Kristian Trandem <kristian@devup.no>
+;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23201,3 +23202,27 @@ backport of the @code{dataclasses} module for Python 3.6.")
(description "@code{python-pywatchman} is a library to connect and
query Watchman to discover file changes.")
(license license:bsd-3)))
+
+(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
+ "A framework for serializing/deserializing JSON/YAML/XML into python class instances and vice versa")
+ (description
+ "A framework for serializing/deserializing JSON/YAML/XML into python class instances and vice versa")
+ (license license:expat)))
--
2.29.2