diff options
author | cage <cage-dev@twistfold.it> | 2021-03-03 16:24:10 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-03-04 10:29:07 +0100 |
commit | f934892cbb8be1d0d0c688368ac3388dd51b1881 (patch) | |
tree | d247182fb6eadc465d19c63928ee7076e5a8b1b1 /gnu/packages/lisp-xyz.scm | |
parent | 9e9c9a3a02110fbe3551cf000b6ceb67c9888c34 (diff) |
gnu: Add cl-html5-parser.
* gnu/packages/lisp-xyz.scm (cl-html5-parser, ecl-cl-html5-parser,
sbcl-cl-html5-parser): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 386abab55e..2f084c7760 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -14992,3 +14992,37 @@ Lisp.") (define-public cl-crypto-shortcuts (sbcl-package->cl-source-package sbcl-crypto-shortcuts)) + +(define-public sbcl-cl-html5-parser + (let ((commit "74a92eb3a183a0afd089ea33350e816e6b9aeefa") + (revision "1")) + (package + (name "sbcl-cl-html5-parser") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rotatef/cl-html5-parser") + (commit commit))) + (file-name (git-file-name "cl-html5-parser" version)) + (sha256 + (base32 "04if61wigylsmn996rbfl8ylsd0d9hzdmg7p2wiglncibjzcl5k9")))) + (build-system asdf-build-system/sbcl) + (arguments + '(#:tests? #f + #:asd-systems '("cl-html5-parser"))) + (inputs + `(("cl-ppcre" ,sbcl-cl-ppcre) + ("flexi-stream" ,sbcl-flexi-streams) + ("string-case" ,sbcl-string-case))) + (synopsis "HTML5 parser for Common Lisp") + (description "This a Common Lisp library to parse HTML5 documents.") + (home-page "https://github.com/rotatef/cl-html5-parser") + (license license:lgpl3+)))) + +(define-public ecl-cl-html5-parser + (sbcl-package->ecl-package sbcl-cl-html5-parser)) + +(define-public cl-html5-parser + (sbcl-package->cl-source-package sbcl-cl-html5-parser)) |