summary refs log tree commit diff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2022-09-07 19:48:59 -0500
committerGuillaume Le Vaillant <glv@posteo.net>2022-09-09 13:23:28 +0200
commit94311a016bd7e34fa0214ab4152f66e840e94204 (patch)
tree8fbfc74e99a7b9bdf47880f1f2fb7082e365c627
parent791e9e4534d158014207f161e8ba34151efba919 (diff)
downloadguix-94311a016bd7e34fa0214ab4152f66e840e94204.tar.gz
gnu: Add cl-enhanced-boolean.
* gnu/packages/lisp-xyz.scm (cl-enhanced-boolean, ecl-enhanced-boolean,
  sbcl-enhanced-boolean): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 88cfecb749..b2e9430cd5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23573,6 +23573,35 @@ addressing concerns about verbosity.")
 (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 "cl-enhanced-boolean" version))
+       (sha256
+        (base32 "17l18lz07fk2kg835vs6c3189d230n1rm9vghk3ls4i356gbq0gy"))))
+    (build-system asdf-build-system/sbcl)
+    (native-inputs
+     (list sbcl-parachute))
+    (home-page "https://www.hexstreamsoft.com/libraries/enhanced-boolean/")
+    (synopsis "Convert generalized booleans to booleans")
+    (description
+     "This package 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"))