summary refs log tree commit diff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2022-11-22 22:30:57 +0000
committerChristopher Baines <mail@cbaines.net>2022-11-23 09:53:11 +0000
commitdc95215dc0178b85d1c218494aa8ac7248ab8f0b (patch)
treed14802f32c9f93f3dc5e13b4e36923f3cf99ba09
parent029234bdad83195c7facad5af05d65cda7772c25 (diff)
downloadguix-dc95215dc0178b85d1c218494aa8ac7248ab8f0b.tar.gz
gnu: Add cl-assertion-error.
* gnu/packages/lisp-check.scm (cl-assertion-error, ecl-assertion-error,
sbcl-assertion-error): New variables.

Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r--gnu/packages/lisp-check.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-check.scm b/gnu/packages/lisp-check.scm
index 59033fdbc5..2d447533d9 100644
--- a/gnu/packages/lisp-check.scm
+++ b/gnu/packages/lisp-check.scm
@@ -94,6 +94,35 @@ consists of: @code{test}, @code{is}, @code{signals}, @code{finishes},
 (define-public ecl-2am
   (sbcl-package->ecl-package sbcl-2am))
 
+(define-public sbcl-assertion-error
+  (let ((commit "8eab692a990d4caa193a46bae99af3e13e717b86")
+        (revision "1"))
+    (package
+      (name "sbcl-assertion-error")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/noloop/assertion-error")
+               (commit commit)))
+         (file-name (git-file-name "assertion-error" version))
+         (sha256
+          (base32 "0ix23kkakmf4nwx852zsssb831jvajr3qyppqfyks7y1ls617svn"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-dissect))
+      (home-page "https://github.com/noloop/assertion-error")
+      (synopsis "Error pattern for assertion libraries in Common Lisp")
+      (description "This package provides a Common Lisp assertion system with
+minimal dependencies on DISSECT.")
+      (license license:gpl3))))
+
+(define-public ecl-assertion-error
+  (sbcl-package->ecl-package sbcl-assertion-error))
+
+(define-public cl-assertion-error
+  (sbcl-package->cl-source-package sbcl-assertion-error))
+
 (define-public sbcl-check-it
   (let ((commit "b79c9103665be3976915b56b570038f03486e62f"))
     (package