summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-09-28 00:08:51 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-09-28 00:08:51 -0400
commitcf14128ac814c7a1075c23ec926b073cf6dbc7d7 (patch)
tree5fc66abb51388463e489356b023b97a0bc5693f0 /gnu/packages
parent8f8eaf579fe6903683efeea7a0cb806e38a8e5ee (diff)
downloadguix-cf14128ac814c7a1075c23ec926b073cf6dbc7d7.tar.gz
gnu: Add python-pyserial-asyncio.
* gnu/packages/python-xyz.scm (python-pyserial-asyncio): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c19d9380d5..1419d9d0d6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16052,6 +16052,24 @@ and/or Xon/Xoff.  The port is accessed in RAW mode.")
 (define-public python2-pyserial
   (package-with-python2 python-pyserial))
 
+(define-public python-pyserial-asyncio
+  (package
+    (name "python-pyserial-asyncio")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyserial-asyncio" version))
+       (sha256
+        (base32 "0cwd2cjz859v6jrm3y6hikfqjyhyfj5vhfjb8vvflvl6791yah8n"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-pyserial" ,python-pyserial)))
+    (home-page "https://github.com/pyserial/pyserial-asyncio")
+    (synopsis "Pyserial asynchronous I/O extension")
+    (description "This package extends Pyserial with asynchronous I/O
+support.")
+    (license license:bsd-3)))
+
 (define-public python-kivy
   (package
     (name "python-kivy")