diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-11-04 22:13:15 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-11-11 12:18:33 -0500 |
commit | 374c6fd09c5fbcbe06e7fac2d7faac584e6dfa80 (patch) | |
tree | b91b2a17777aee016b9fefe3a69d5b4873b1cd02 /gnu | |
parent | 0f67d46524b6048598effd3ddc2c6c7a06c633fb (diff) | |
download | guix-374c6fd09c5fbcbe06e7fac2d7faac584e6dfa80.tar.gz guix-374c6fd09c5fbcbe06e7fac2d7faac584e6dfa80.zip |
gnu: Add python-aiomysql.
* gnu/packages/databases.scm (python-aiomysql): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/databases.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index eb4414116d..074a5f29a6 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2677,6 +2677,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") |