summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-04 21:58:48 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-11 12:18:33 -0500
commit0f67d46524b6048598effd3ddc2c6c7a06c633fb (patch)
treec14f01e9fe9a4930436c0593455f85a7b0398a35
parent82b10c93b8c01c0fa3f078dcf784f78222a67fe7 (diff)
downloadguix-0f67d46524b6048598effd3ddc2c6c7a06c633fb.tar.gz
gnu: Add python-asyncmy.
* gnu/packages/databases.scm (python-asyncmy): New variable.
-rw-r--r--gnu/packages/databases.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1546f822c8..eb4414116d 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2658,6 +2658,25 @@ efficient, clean implementation of PostgreSQL server binary protocol for use
 with Python's asyncio framework.")
     (license license:asl2.0)))
 
+(define-public python-asyncmy
+  (package
+    (name "python-asyncmy")
+    (version "0.2.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "asyncmy" version))
+        (sha256
+          (base32 "19p81jd4w7m7v2x1jdrwibp67wzqx1a7rdw5n4qqmch3iffp97vn"))))
+    (build-system python-build-system)
+    (native-inputs (list python-cython))
+    (home-page "https://github.com/long2ice/asyncmy")
+    (synopsis "Fast MySQL driver for Python")
+    (description "@code{asyncmy} is a fast @code{asyncio} MySQL driver, which
+reuses most of @code{pymysql} and @code{aiomysql} but rewrites the core
+protocol with Cython for performance.")
+    (license license:asl2.0)))
+
 (define-public python-tortoise-orm
   (package
     (name "python-tortoise-orm")