diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2018-10-01 15:31:46 +0200 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2018-10-19 17:54:12 +0200 |
commit | 41b3b866ce1166d73b3c8530998f91730b3d48e3 (patch) | |
tree | da7bd2066b3fef323452dd842eb4095acf12e918 /gnu/packages/lisp.scm | |
parent | 86afb0a272dc24b68245d35825c0b7b5cc73f64a (diff) | |
download | guix-41b3b866ce1166d73b3c8530998f91730b3d48e3.tar.gz |
gnu: Add proc-parse.
* gnu/packages/lisp.scm (cl-proc-parse, ecl-proc-parse, sbcl-proc-parse): New variables.
Diffstat (limited to 'gnu/packages/lisp.scm')
-rw-r--r-- | gnu/packages/lisp.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 2e4725e084..cc3c343c81 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -2590,6 +2590,45 @@ advantages of @command{prove} are: (define-public ecl-prove (sbcl-package->ecl-package sbcl-prove)) +(define-public sbcl-proc-parse + (let ((commit "ac3636834d561bdc2686c956dbd82494537285fd")) + (package + (name "sbcl-proc-parse") + (version (git-version "0.0.0" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fukamachi/proc-parse") + (commit commit))) + (sha256 + (base32 + "06rnl0h4cx6xv2wj3jczmmcxqn2703inmmvg1s4npbghmijsybfh")) + (file-name (git-file-name "proc-parse" version)))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("babel" ,sbcl-babel))) + (native-inputs + `(("prove" ,sbcl-prove) + ("prove-asdf" ,sbcl-prove-asdf))) + (arguments + ;; TODO: Tests don't find "proc-parse-test", why? + `(#:tests? #f)) + (synopsis "Procedural vector parser") + (description + "This is a string/octets parser library for Common Lisp with speed and +readability in mind. Unlike other libraries, the code is not a +pattern-matching-like, but a char-by-char procedural parser.") + (home-page "https://github.com/fukamachi/proc-parse") + (license license:bsd-2)))) + +(define-public cl-proc-parse + (sbcl-package->cl-source-package sbcl-proc-parse)) + +(define-public ecl-proc-parse + (sbcl-package->ecl-package sbcl-proc-parse)) + (define-public sbcl-ascii-strings (let ((revision "1") (changeset "5048480a61243e6f1b02884012c8f25cdbee6d97")) |