summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2022-11-22 22:30:58 +0000
committerChristopher Baines <mail@cbaines.net>2022-11-23 09:53:11 +0000
commitf39a18e7d43fc7bdf18b135d44bae2159e1526ac (patch)
treea42199890b2ca7f5fc0c7f57d69c58a973e007b2 /gnu
parentdc95215dc0178b85d1c218494aa8ac7248ab8f0b (diff)
gnu: Add cl-assert-p.
* gnu/packages/lisp-check.scm (cl-assert-p, ecl-assert-p, sbcl-assert-p): New variables. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-check.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/lisp-check.scm b/gnu/packages/lisp-check.scm
index 2d447533d9..9b22b195b5 100644
--- a/gnu/packages/lisp-check.scm
+++ b/gnu/packages/lisp-check.scm
@@ -123,6 +123,32 @@ minimal dependencies on DISSECT.")
(define-public cl-assertion-error
(sbcl-package->cl-source-package sbcl-assertion-error))
+(define-public sbcl-assert-p
+ (package
+ (name "sbcl-assert-p")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/noloop/assert-p")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "assert-p" version))
+ (sha256
+ (base32 "1x24rkqkqiw8zd26swi9rmhfplkmr5scz3bhjwccah9d2s36b1xs"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs (list sbcl-assertion-error sbcl-simplet))
+ (home-page "https://github.com/noloop/assert-p")
+ (synopsis "Common Lisp assertion library")
+ (description "This package provides a Common Lisp collection of assertions.")
+ (license license:gpl3)))
+
+(define-public ecl-assert-p
+ (sbcl-package->ecl-package sbcl-assert-p))
+
+(define-public cl-assert-p
+ (sbcl-package->cl-source-package sbcl-assert-p))
+
(define-public sbcl-check-it
(let ((commit "b79c9103665be3976915b56b570038f03486e62f"))
(package