guix-commits
[Top][All Lists]
Advanced

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

210/217: gnu: Add python-aiomysql.


From: guix-commits
Subject: 210/217: gnu: Add python-aiomysql.
Date: Sun, 14 Nov 2021 19:21:29 -0500 (EST)

vagrantc pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.

commit 368fd473d4a7448b0e0c1613449ab078b9ecaf3e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 4 22:13:15 2021 -0400

    gnu: Add python-aiomysql.
    
    * gnu/packages/databases.scm (python-aiomysql): New variable.
---
 gnu/packages/databases.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ff78b42..911c103 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2678,6 +2678,27 @@ reuses most of @code{pymysql} and @code{aiomysql} but 
rewrites the core
 protocol with Cython for performance.")
     (license license:asl2.0)))
 
+(define-public python-aiomysql
+  (package
+    (name "python-aiomysql")
+    (version "0.0.21")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "aiomysql" version))
+        (sha256
+          (base32 "0b442d0jb82z3lk19ylmm64ix88ppz7gay08bxld538ivg06j5c1"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f))           ;test suite requires docker
+    (propagated-inputs (list python-pymysql))
+    (home-page "https://github.com/aio-libs/aiomysql";)
+    (synopsis "MySQL driver for Python")
+    (description "@code{aiomysql} is a driver for accessing a MySQL database
+from the @code{asyncio} Python framework.  It depends on and reuses most parts
+of PyMySQL.  @code{aiomysql} tries to preserve the same API as the
+@code{aiopg} library.")
+    (license license:expat)))
+
 (define-public python-tortoise-orm
   (package
     (name "python-tortoise-orm")



reply via email to

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