diff options
author | Pierre Neidhardt <ambrevar@gmail.com> | 2018-08-24 11:38:00 +0200 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2018-10-19 17:54:11 +0200 |
commit | 109ce303f4f1b99a9b47ced0efbe412e68eb2eb3 (patch) | |
tree | 07575c2ec66d590bc2145bc41a5984dbba6970ff /gnu/packages/lisp.scm | |
parent | a927eb3653df9097d0d6768fbfc1652221b7cdcd (diff) | |
download | gnu-guix-109ce303f4f1b99a9b47ced0efbe412e68eb2eb3.tar gnu-guix-109ce303f4f1b99a9b47ced0efbe412e68eb2eb3.tar.gz |
gnu: Add cl-string-match.
* gnu/packages/lisp.scm (cl-string-match, ecl-cl-string-match, sbcl-cl-string-match): New variables.
Diffstat (limited to 'gnu/packages/lisp.scm')
-rw-r--r-- | gnu/packages/lisp.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 139e9d2c5e..e98b937fe6 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -2294,3 +2294,35 @@ single-byte encoded strings.") (define-public ecl-ascii-strings (sbcl-package->ecl-package sbcl-ascii-strings)) + +(define-public sbcl-cl-string-match + (package + (inherit sbcl-ascii-strings) + (name "sbcl-cl-string-match") + (inputs + `(("alexandria" ,sbcl-alexandria) + ("ascii-strings" ,sbcl-ascii-strings) + ("yacc" ,sbcl-cl-yacc) + ("jpl-util" ,sbcl-jpl-util) + ("jpl-queues" ,sbcl-jpl-queues) + ("mgl-pax" ,sbcl-mgl-pax) + ("iterate" ,sbcl-iterate))) + ;; TODO: Tests are not evaluated properly. + (native-inputs + ;; For testing: + `(("lisp-unit" ,sbcl-lisp-unit) + ("simple-scanf" ,sbcl-simple-scanf))) + (arguments + `(#:tests? #f + #:asd-file "cl-string-match.asd")) + (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp") + (description + "@command{cl-strings} is a small, portable, dependency-free set of +utilities that make it even easier to manipulate text in Common Lisp. It has +100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp."))) + +(define-public cl-string-match + (sbcl-package->cl-source-package sbcl-cl-string-match)) + +(define-public ecl-cl-string-match + (sbcl-package->ecl-package sbcl-cl-string-match)) |