summary refs log tree commit diff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2024-05-27 14:40:26 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2024-05-27 14:44:57 +0200
commit50c977123b7ba6ee0903650996789172244406f8 (patch)
tree4f122a652e977741305c9be4428210cad77dc575 /gnu/packages/lisp-xyz.scm
parent4c39f6edebd2a3601c7b75adaf0426c72246b011 (diff)
downloadguix-50c977123b7ba6ee0903650996789172244406f8.tar.gz
gnu: Add cl-more-conditions.
* gnu/packages/lisp-xyz.scm (cl-more-conditions, ecl-more-conditions,
  sbcl-more-conditions): New variables.

Change-Id: I2854d9054fa6ae3a1e7fc0c8532ca69c8e25c93b
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c667b997c2..93014510a9 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20691,6 +20691,39 @@ long-running threads.  In principle, it is like an in-Lisp process supervisor.")
 (define-public ecl-moira
   (sbcl-package->ecl-package sbcl-moira))
 
+(define-public sbcl-more-conditions
+  (let ((commit "b4859fb119b3b88719c3c4d5f6d7a620052fefc2")
+        (revision "1"))
+    (package
+      (name "sbcl-more-conditions")
+      (version (git-version "0.4.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/scymtym/more-conditions")
+               (commit commit)))
+         (file-name (git-file-name "cl-more-conditions" version))
+         (sha256
+          (base32 "1n0xbz0yiqn9dxf0ycm57wqvsr4gh2q4hs5fskjbv87c47d7l7zr"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       (list sbcl-fiveam sbcl-let-plus))
+      (inputs
+       (list sbcl-alexandria sbcl-closer-mop))
+      (synopsis "General condition classes and signalling helpers")
+      (description
+       "This package provides some condition classes, functions and macros
+which may be useful when building slightly complex systems.")
+      (home-page "https://github.com/scymtym/more-conditions")
+      (license license:llgpl))))
+
+(define-public cl-more-conditions
+  (sbcl-package->cl-source-package sbcl-more-conditions))
+
+(define-public ecl-more-conditions
+  (sbcl-package->ecl-package sbcl-more-conditions))
+
 (define-public sbcl-montezuma
   (let ((commit "ee2129eece7065760de4ebbaeffaadcb27644738")
         (revision "1"))