guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6d14666f50c05c8923d1c210bb8264660d171b00
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Sep 18 23:51:51 2026 +0100
gnu: Add python-timed-threads.
* gnu/packages/python-xyz.scm (python-timed-threads): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2bc5e6d7950..9cd93318e1b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -39442,6 +39442,30 @@ to TIFF, BigTIFF, and ImageJ hyperstack compatible
files.")
@code{OpenAI's} models.")
(license license:expat)))
+(define-public python-timed-threads
+ (package
+ (name "python-timed-threads")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Mathics3/python-timed-threads/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "062lml0dg13pi7b871q8fql5rff7g7gs6ljbb8rmm0vp98vqc5fp"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest python-setuptools))
+ (home-page "https://github.com/Mathics3/python-timed-threads/")
+ (synopsis "Ability to set absolute time deadlines on asynchronous threads")
+ (description
+ "This package adds the ability to set relative elapsed time deadlines on
+asynchronous threads, and allows one thread to stop another by means of
+raising an exception.")
+ (license license:expat)))
+
(define-public python-timeout-decorator
;; TODO: Remove when python-requests-caches releases a fresh version dropping
;; it, see, <https://github.com/requests-cache/requests-cache/pull/1111>.