diff options
author | Paul A. Patience <paul@apatience.com> | 2022-11-20 14:37:35 +0000 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-11-21 10:06:17 +0100 |
commit | d32b41c2def3aa56154abb46a0c7af190cc42365 (patch) | |
tree | 211d21d8eab53c5e556b31b975e78972198ff6a6 | |
parent | 7245773eb60460e79d3629e7b5e8f93b3748882c (diff) | |
download | guix-d32b41c2def3aa56154abb46a0c7af190cc42365.tar.gz guix-d32b41c2def3aa56154abb46a0c7af190cc42365.zip |
gnu: Add cl-one-more-re-nightmare.
* gnu/packages/lisp-xyz.scm (sbcl-one-more-re-nightmare,
cl-one-more-re-nightmare, ecl-one-more-re-nightmare): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 8610fbaf50..fa5612acc0 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -1049,6 +1049,59 @@ compatible with ANSI-compliant Common Lisp implementations.") (define-public ecl-cl-ppcre (sbcl-package->ecl-package sbcl-cl-ppcre)) +(define-public sbcl-one-more-re-nightmare + (let ((commit "09c33feed35797512bf123ccca053cf8ba42bfbd") + (revision "0")) + (package + (name "sbcl-one-more-re-nightmare") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/telekons/one-more-re-nightmare") + (commit commit))) + (file-name (git-file-name "cl-one-more-re-nightmare" version)) + (sha256 + (base32 "0vc0lxvn3anjb63hr26r1l18aw5nbj80w9ja3a32fip6nbwfsrfv")))) + (build-system asdf-build-system/sbcl) + (arguments + '(#:asd-test-systems '("one-more-re-nightmare-tests") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* "Tests/one-more-re-nightmare-tests.asd" + ((":depends-on") + (string-append + ":perform (test-op (o c) (symbol-call :one-more-re-nightmare-tests '#:run-tests))" + "\n :depends-on")))))))) + (native-inputs + (list sbcl-lparallel sbcl-parachute)) + (inputs + (list sbcl-alexandria + sbcl-babel + sbcl-bordeaux-threads + sbcl-dynamic-mixins + sbcl-esrap + sbcl-stealth-mixin + sbcl-trivia + sbcl-trivial-indent)) + (home-page "https://github.com/telekons/one-more-re-nightmare") + (synopsis "Regular expression compiler in Common Lisp") + (description "@code{one-more-re-nightmare} is a regular expression engine +that uses the technique presented in Regular-expression derivatives +re-examined (Owens, Reppy and Turon, 2009; +@url{doi:10.1017/S0956796808007090}) to interpret and compile regular +expressions.") + (license license:bsd-2)))) + +(define-public cl-one-more-re-nightmare + (sbcl-package->cl-source-package sbcl-one-more-re-nightmare)) + +(define-public ecl-one-more-re-nightmare + (sbcl-package->ecl-package sbcl-one-more-re-nightmare)) + (define-public sbcl-parse (let ((commit "2351ee78acac065fcf10b8713d3f404e2e910786") (revision "1")) |