Subject: [PATCH]: gnu: Add cl-kaput

From: Sharlatan Hellseher <[email-masked]>
Date: Sun, 7 Nov 2021 19:41:48 +0000

successfully built
/gnu/store/jyh8iflsyvifwf79clia00vsszgrn4pj-cl-kaputt-0.0.0-1.f26c9b0.drv
/gnu/store/zyzqfp6irid5qc187fw24i42gxk8cbl5-ecl-kaputt-0.0.0-1.f26c9b0
/gnu/store/qxi423lsgyd6xjb1hrjvj36pas158jjx-cl-kaputt-0.0.0-1.f26c9b0
/gnu/store/iins36vac6jg8blwn5gam9xygararclj-sbcl-kaputt-0.0.0-1.f26c9b0

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
From 9b36beb118ed902c640d2da9bb489597edc16016 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <[email-masked]>
Date: Sun, 7 Nov 2021 19:40:06 +0000
Subject: [PATCH] gnu: Add cl-kaputt

* gnu/packages/lisp-check.scm: (sbcl-kaputt, cl-kaputt, ecl-kaputt): New variables.
---
 gnu/packages/lisp-check.scm | 41 +++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/lisp-check.scm b/gnu/packages/lisp-check.scm
index ca00e5054e..2c9a503117 100644
--- a/gnu/packages/lisp-check.scm
+++ b/gnu/packages/lisp-check.scm
@@ -845,3 +845,44 @@ (define-public cl-xlunit
 
 (define-public ecl-xlunit
   (sbcl-package->ecl-package sbcl-xlunit))
+
+(define-public sbcl-kaputt
+  (let ((commit "f26c9b0f8219fe61d86249198ef85174eecafc10")
+        (revision "1"))
+    (package
+      (name "sbcl-kaputt")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/foretspaisibles/cl-kaputt")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10a78032vnf12kjjpfmq9ign38cad237ycyq37dwnx922nxjjaj4"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("cl-ppcre" ,sbcl-cl-ppcre)))
+      (home-page "https://github.com/foretspaisibles/cl-kaputt")
+      (synopsis "Simple Interactive Test Framework for Common Lisp")
+      (description
+       "KAPUTT is a test framework for Common Lisp that focuses on the
+following features:
+
+@itemize
+@item KAPUTT is simple, it only defines three abstractions testcase, assertion
+and protocol and does not add any artefact on the backtrace when errors occur.
+
+@item KAPUTT is extensible, it is possible to add problem-specific assertions
+to make test code more informative.
+
+@item KAPUTT fits well interactive development.
+@end itemize\n")
+      (license license:cecill-b))))
+
+(define-public ecl-kaputt
+  (sbcl-package->ecl-package sbcl-kaputt))
+
+(define-public cl-kaputt
+  (sbcl-package->cl-source-package sbcl-kaputt))
-- 
2.33.1