diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-22 00:39:59 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:54 +0100 |
| commit | a2c1a9bc715fd1f2d1c1972424d29c3f233c594c (patch) | |
| tree | db4e36f733c72d4958aa40592158143f65f7d694 /gnu/packages/python-xyz.scm | |
| parent | 41142cf8daf3a3b2b2cb06410718f96f2048c61c (diff) | |
gnu: Add python-valkey.
* gnu/packages/python-xyz.scm (python-valkey): New variable.
Change-Id: I901715e061fe1c86fdfd7873a4fdc738bde06646
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1f72682422..0b99d4fb5f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27323,6 +27323,37 @@ input.") address is valid and really exists.") (license license:lgpl3+))) +(define-public python-valkey + (package + (name "python-valkey") + (version "6.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/valkey-io/valkey-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05zmnb8lmygv75zx0hb40s2rgr53sy4g0sizcb9mq8fd09z5i0n2")))) + (build-system pyproject-build-system) + (arguments + ;; XXX: A lot of tests fail with ConnectionError + ;; Maybe we need to spawn a valkey server? + (list #:tests? #f)) + (native-inputs + (list python-cachetools + python-pytest + python-pytest-asyncio + python-pytest-timeout + python-setuptools)) + (home-page "https://github.com/valkey-io/valkey-py") + (synopsis "Python client for Valkey") + (description + "This package provides a python client for the @code{Valkey} key-value +store, forked from redis-py.") + (license license:expat))) + ;; XXX: Project has no updates since 2019, consider to remove when nothing ;; depends on it in the next refresh cycle. ;; See: <https://github.com/pipermerriam/flex/issues/237>. |
