summary refs log tree commit diff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2022-04-21 01:52:45 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2022-04-24 12:08:16 +0200
commitd13c7e905c0cd4ecc47df5b160b76d60a7639559 (patch)
tree34073d7773e55f1ced9e8e5532c80bf83cf1c29c /gnu/packages/lisp-xyz.scm
parent5e343e35703118bffc2587f60c403532c6e430ab (diff)
downloadguix-d13c7e905c0cd4ecc47df5b160b76d60a7639559.tar.gz
gnu: Add cl-boost-lexer.
* gnu/packages/lisp-xyz.scm (sbcl-boost-lexer, cl-boost-lexer,
  ecl-boost-lexer): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index be0fb737d0..9b89625202 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -726,6 +726,37 @@ expression library for Common Lisp.  It is a non-recursive, backtracking VM.")
 (define-public ecl-boost-re
   (sbcl-package->ecl-package sbcl-boost-re))
 
+(define-public sbcl-boost-lexer
+  (let ((commit "139ca9e9580f890698deec05061e495376b7735a")
+        (revision "0"))
+    (package
+      (name "sbcl-boost-lexer")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/cl-boost/lexer")
+               (commit commit)))
+         (file-name (git-file-name "cl-boost-lexer" version))
+         (sha256
+          (base32 "01vsczb5cn62k2hkkn39xwh5fjn2x0b507n7afia98jnhhk3d5x4"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-boost-re))
+      (home-page "https://github.com/cl-boost/lexer")
+      (synopsis "String tokenizing for Common Lisp")
+      (description
+       "BOOST-LEXER is a tokenizer for Common Lisp that makes heavy use of
+BOOST-RE.")
+      (license license:asl2.0))))
+
+(define-public cl-boost-lexer
+  (sbcl-package->cl-source-package sbcl-boost-lexer))
+
+(define-public ecl-boost-lexer
+  (sbcl-package->ecl-package sbcl-boost-lexer))
+
 (define-public sbcl-ubiquitous
   (let ((commit "35eb7bd9e1b3daee1705f6b41260775180cce8af")
         (revision "1"))