From d13fb04b39d325884c9e491236a0161b214794db Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 1 Dec 2020 11:39:15 +0100 Subject: gnu: Add regex. * gnu/packages/lisp-xyz.scm (cl-regex, ecl-regex, sbcl-regex): New variables. --- gnu/packages/lisp-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') 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)) -- cgit v1.2.3