Subject: [PATCH 11/16] gnu: Add cl-enhanced-boolean.

From: jgart <[email-masked]>
Date: Wed, 7 Sep 2022 19:48:59 -0500

* gnu/packages/lisp-xyz.scm (cl-enhanced-boolean, ecl-enhanced-boolean,
sbcl-enhanced-boolean): New variables.
---
 gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 8c2b46fd76..f692b1f894 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23600,6 +23600,36 @@ (define-public cl-enhanced-eval-when
 (define-public ecl-enhanced-eval-when
   (sbcl-package->ecl-package sbcl-enhanced-eval-when))
 
+(define-public sbcl-enhanced-boolean
+  (package
+      (name "sbcl-enhanced-boolean")
+      (version "1.0")
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                (url "https://github.com/Hexstream/enhanced-boolean")
+                (commit (string-append "v" version))))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32 "17l18lz07fk2kg835vs6c3189d230n1rm9vghk3ls4i356gbq0gy"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-parachute))
+      (inputs
+        (list sbcl-trivial-cltl2))
+      (home-page "https://www.hexstreamsoft.com/libraries/enhanced-boolean/")
+      (synopsis "Convert generalized booleans to booleans")
+      (description
+"Provides a canonical way of converting generalized booleans to
+booleans.")
+      (license license:unlicense)))
+
+(define-public cl-enhanced-boolean
+  (sbcl-package->cl-source-package sbcl-enhanced-boolean))
+
+(define-public ecl-enhanced-boolean
+  (sbcl-package->ecl-package sbcl-enhanced-boolean))
+
 (define-public sbcl-smug
   (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79")
         (revision "0"))
-- 
2.37.2