summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2021-01-08 10:38:48 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-01-08 10:47:46 +0100
commit375c44de40827a33369a93f5745f272e491f4150 (patch)
treeb97b3ed85254469fd75b22db54c3698ca23a143e
parentb76ae073722910b1373301293f0acabd7c0833ee (diff)
gnu: Add cl-markdown.
* gnu/packages/lisp-xyz.scm (cl-markdown, ecl-cl-markdown, sbcl-cl-markdown): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 02eb0fcb20..52abef3d85 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -12905,3 +12905,43 @@ bringing dynamism to class definition.")
(define-public cl-dynamic-classes
(sbcl-package->cl-source-package sbcl-dynamic-classes))
+
+(define-public sbcl-cl-markdown
+ ;; NOTE: (Sharlatan-20210106214629+0000) latest version tag
+ ;; "version-0.10.6_version-0.10.6" is failing to build due to missing system
+ ;; #:container-dynamic-classes
+ (package
+ (name "sbcl-cl-markdown")
+ (version "0.10.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gwkkwg/cl-markdown")
+ (commit (string-append "version-" version))))
+ (file-name (git-file-name "cl-markdown" version))
+ (sha256
+ (base32 "1wdjbdd1zyskxf7zlilcp6fmwkivybj0wjp64vvzb265d5xi7p8p"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("anaphora" ,sbcl-anaphora)
+ ("cl-containers" ,sbcl-cl-containers)
+ ("cl-ppcre" ,sbcl-cl-ppcre)
+ ("dynamic-classes" ,sbcl-dynamic-classes)
+ ("metabang-bind" ,sbcl-metabang-bind)
+ ("metatilities-base" ,sbcl-metatilities-base)))
+ (arguments
+ ;; NOTE: (Sharlatan-20210107213629+0000) Tests depend on too many not
+ ;; available systems, which themself are abandoned.
+ `(#:tests? #f))
+ (home-page "https://common-lisp.net/project/cl-markdown/")
+ (synopsis "Common Lisp rewrite of Markdown")
+ (description
+ "This is an implementation of a Markdown parser in Common Lisp.")
+ (license license:expat)))
+
+(define-public ecl-cl-markdown
+ (sbcl-package->ecl-package sbcl-cl-markdown))
+
+(define-public cl-markdown
+ (sbcl-package->cl-source-package sbcl-cl-markdown))