guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: gnu: Add python-stopit.


From: guix-commits
Subject: 05/06: gnu: Add python-stopit.
Date: Mon, 11 Apr 2022 09:40:39 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit fc7f80707872a35794c242da11637c4e3dab7d95
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Apr 7 16:48:59 2022 +0200

    gnu: Add python-stopit.
    
    * gnu/packages/python-xyz.scm (python-stopit): New variable.
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 12f0779ba6..e83eb017f5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11081,6 +11081,25 @@ output.")
     (description "This package contains a list of Python Standard Libraries.")
     (license license:expat)))
 
+(define-public python-stopit
+  (package
+    (name "python-stopit")
+    (version "1.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "stopit" version))
+       (sha256
+        (base32 "0vcrcvky249q4rbgmwf18mwmnypfk8jpn4h6knyjf86r7xc9rwzp"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f)) ;there are none
+    (home-page "https://pypi.python.org/pypi/stopit";)
+    (synopsis "Timeout control decorator and context managers")
+    (description
+     "Raise asynchronous exceptions in other threads, control the timeout of
+blocks or callables with two context managers and two decorators.")
+    (license license:expat)))
+
 (define-public python-straight-plugin
   (package
     (name "python-straight-plugin")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]