guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 629c3b8f985be9b8c6a289d5af296f3c7b61cb31
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 21 19:58:37 2026 +0100
gnu: Add python-persist-queue.
* gnu/packages/python-xyz.scm (python-persist-queue): New variable.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b9229ef40d..2faafa58d7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12333,6 +12333,37 @@ snippets with input parameters (e.g., the size of an
array) and plotting
the results.")
(license license:gpl3+)))
+(define-public python-persist-queue
+ (package
+ (name "python-persist-queue")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/peter-wangxu/persist-queue")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "02agwksg0idyhbd4q2sn36igi0zv4kfbkn8vixnbv4q0ki75gfzh"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-pytest-asyncio
+ python-setuptools))
+ (propagated-inputs
+ (list python-aiofiles
+ python-aiosqlite
+ python-cbor2
+ python-dbutils
+ python-msgpack))
+ (home-page "https://github.com/peter-wangxu/persist-queue")
+ (synopsis "Thread-safe disk based persistent queue in Python")
+ (description
+ "This package provides a thread-safe disk (file and sqlite) based
+persistent queue in Python.")
+ (license license:bsd-3)))
+
(define-public python-socksipy-branch
(package
(name "python-socksipy-branch")