[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
148/233: gnu: Add python-aioredis.
From: |
guix-commits |
Subject: |
148/233: gnu: Add python-aioredis. |
Date: |
Sun, 24 Apr 2022 23:39:56 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit a85bf573b77cae42d6d15d25a38ae9222dcd5121
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 09:17:07 2022 -0400
gnu: Add python-aioredis.
* gnu/packages/databases.scm (python-aioredis): New variable.
---
gnu/packages/databases.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index cc8c7dd403..ff160a3fc8 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3937,6 +3937,41 @@ parsing code in hiredis. It primarily speeds up parsing
of multi bulk replies."
(define-public python2-hiredis
(package-with-python2 python-hiredis))
+(define-public python-aioredis
+ (package
+ (name "python-aioredis")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aioredis" version))
+ (sha256
+ (base32 "13nrkk45az6qdiwfpbw80ls6bfip0i27qlkh9gsp2b9zk6pim9ga"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'start-redis
+ (lambda _
+ (invoke "redis-server" "--daemonize" "yes")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-asyncio
+ python-uvloop
+ redis))
+ (propagated-inputs
+ (list python-async-timeout
+ python-hiredis
+ python-typing-extensions))
+ (home-page "https://github.com/aio-libs/aioredis-py")
+ (synopsis "Redis support for Python's @code{asyncio} module")
+ (description "This package provides Redis support for the Python
+@code{asyncio} (PEP 3156) module.")
+ (license license:expat)))
+
(define-public python-fakeredis
(package
(name "python-fakeredis")
- 88/233: gnu: Add texlive-bidi., (continued)
- 88/233: gnu: Add texlive-bidi., guix-commits, 2022/04/24
- 89/233: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/24
- 92/233: gnu: Add python-untangle., guix-commits, 2022/04/24
- 93/233: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/24
- 95/233: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/24
- 96/233: gnu: Add python-pydevd., guix-commits, 2022/04/24
- 97/233: gnu: Add python-debugpy., guix-commits, 2022/04/24
- 98/233: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/24
- 134/233: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/24
- 147/233: gnu: Add python-pecan., guix-commits, 2022/04/24
- 148/233: gnu: Add python-aioredis.,
guix-commits <=
- 164/233: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/04/24
- 190/233: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/04/24
- 192/233: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/24
- 195/233: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 100/233: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/24
- 103/233: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/24
- 102/233: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/24
- 109/233: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/24
- 111/233: gnu: Add texlive-unicode-math., guix-commits, 2022/04/24
- 116/233: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/24