summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-12-01 11:39:15 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-12-01 12:38:46 +0100
commitd13fb04b39d325884c9e491236a0161b214794db (patch)
tree96adbf347369688e9abbd68c3d4d563f46b0e96f
parent8d8ecbfe373b8f4d9ab725d2b109e1b441e0be0d (diff)
downloadguix-d13fb04b39d325884c9e491236a0161b214794db.tar.gz
gnu: Add regex.
* gnu/packages/lisp-xyz.scm (cl-regex, ecl-regex, sbcl-regex): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 3d806401a9..06ad504a3e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -11872,3 +11872,30 @@ latitude/longitude and Open Location Code.")
 
 (define-public ecl-olc
   (sbcl-package->ecl-package sbcl-olc))
+
+(define-public sbcl-regex
+  (let ((commit "fbc9a9f313b9edc1788f33d4b23a29151635ae22"))
+    (package
+      (name "sbcl-regex")
+      (version (git-version "1" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/michaelw/regex/")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0wq5wlafrxv13wg28hg5b10sc48b88swsvznpy2zg7x37m4nmm6a"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/michaelw/regex/")
+      (synopsis "Regular expression engine for Common Lisp")
+      (description
+       "This Common Lisp package provides a regular expression engine.")
+      (license license:bsd-2))))
+
+(define-public cl-regex
+  (sbcl-package->cl-source-package sbcl-regex))
+
+(define-public ecl-regex
+  (sbcl-package->ecl-package sbcl-regex))