[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
148/242: gnu: Add python-aioredis.
From: |
guix-commits |
Subject: |
148/242: gnu: Add python-aioredis. |
Date: |
Wed, 11 May 2022 18:03:19 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 5af9be59dda7b05b8cb21759ff25c14021e7a470
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 db60e322ce..b7e94160b8 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3961,6 +3961,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")
- 131/242: gnu: Add texlive-xindy., (continued)
- 131/242: gnu: Add texlive-xindy., guix-commits, 2022/05/11
- 135/242: gnu: Add python-rfc3339-validator., guix-commits, 2022/05/11
- 133/242: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/05/11
- 139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/05/11
- 153/242: gnu: Add python-jupyterlab-server., guix-commits, 2022/05/11
- 142/242: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/05/11
- 151/242: gnu: Add python-dictpath., guix-commits, 2022/05/11
- 143/242: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/05/11
- 154/242: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/05/11
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/05/11
- 148/242: gnu: Add python-aioredis.,
guix-commits <=
- 156/242: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/05/11
- 160/242: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/05/11
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/11
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/11
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/11
- 164/242: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/05/11
- 165/242: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/05/11
- 173/242: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/05/11
- 175/242: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/05/11
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/05/11