aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2022-11-16 08:03:12 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2022-11-16 10:29:50 +0100
commitfd34760e2837ed6d81bd6602b584f83eaaf2f824 (patch)
treec17d2a266a23fc464de4e127931d80509f2d00a5 /gnu
parentce9f95609573006820b9a3926dcb95ef0ceb190c (diff)
downloadguix-fd34760e2837ed6d81bd6602b584f83eaaf2f824.tar.gz
guix-fd34760e2837ed6d81bd6602b584f83eaaf2f824.zip
gnu: Add cl-moira.
* gnu/packages/lisp-xyz.scm (sbcl-moira, cl-moira, ecl-moira): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1d358e98df..7af6f6ad34 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -17327,6 +17327,42 @@ implementation, for example drawing calls of GUI applications.")
(define-public cl-trivial-main-thread
(sbcl-package->cl-source-package sbcl-trivial-main-thread))
+(define-public sbcl-moira
+ (let ((commit "21f1cfd5942fcaea2ed2e4f6055b2a5a39ac4c6e")
+ (revision "0"))
+ (package
+ (name "sbcl-moira")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ruricolist/moira")
+ (commit commit)))
+ (file-name (git-file-name "cl-moira" version))
+ (sha256
+ (base32 "0r6hvq8j04y1i85f8jwhhafylgfrkg8c1z5746nsbv0v0348sf5h"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-alexandria
+ sbcl-bordeaux-threads
+ sbcl-osicat
+ sbcl-serapeum
+ sbcl-trivial-features
+ sbcl-trivial-garbage))
+ (home-page "https://github.com/ruricolist/moira")
+ (synopsis "Monitor and restart background threads")
+ (description
+ "Moira is a library for monitoring and, if necessary, restarting
+long-running threads. In principle, it is like an in-Lisp process supervisor.")
+ (license license:expat))))
+
+(define-public cl-moira
+ (sbcl-package->cl-source-package sbcl-moira))
+
+(define-public ecl-moira
+ (sbcl-package->ecl-package sbcl-moira))
+
(define-public sbcl-cl-package-locks
(let ((commit "96a358ede7cef416d61d2f699e724fe1d9de602c")
(revision "1"))