summary refs log tree commit diff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2023-04-12 11:41:44 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2023-04-12 12:23:52 +0200
commitdd3e5e71104a2bcbad80e52e062a144ea96b8c6a (patch)
treeb4d95c1e81561b036b0656e64b5326153059fd49 /gnu/packages/lisp-xyz.scm
parentabb28fa6876952bcef232707ec95e5598c0b3a7e (diff)
downloadguix-dd3e5e71104a2bcbad80e52e062a144ea96b8c6a.tar.gz
gnu: Add cl-docutils.
* gnu/packages/lisp-xyz.scm (cl-docutils, ecl-cl-docutils, sbcl-cl-docutils):
New variables.
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm46
1 files changed, 42 insertions, 4 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 7a3c3f93f7..13e9e5bcfa 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10121,11 +10121,49 @@ conversion or type specification.")
       (home-page "http://www.jarw.org.uk/lisp/cl-data-format-validation.html")
       (license license:gpl3))))
 
-(define-public cl-data-format-validation
-  (sbcl-package->cl-source-package sbcl-data-format-validation))
+(define-public sbcl-cl-docutils
+  (let ((commit "756b5ad42360e84d8225fa69815bdd1623ceaa40")
+        (revision "1"))
+    (package
+      (name "sbcl-cl-docutils")
+      (version (git-version "0.1.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/willijar/cl-docutils/")
+           (commit commit)))
+         (file-name (git-file-name "cl-docutils" version))
+         (sha256
+          (base32
+           "132bxlj0jlhiabi29mygmkcbbgyb5s1yz1xdfhm3pgrf9f8605gg"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       '(#:asd-systems '("docutils")))
+      (inputs
+       (list sbcl-cl-ppcre
+             sbcl-data-format-validation
+             sbcl-trivial-gray-streams))
+      (synopsis "Document utilities and Restructured text parser")
+      (description
+       "@code{cl-docutils} is a Common Lisp implementation of the Docutils text
+processing system for processing plaintext into presentational formats such as
+HTML and LaTeX.  It is based upon the Python Docutils reference implementation
+but uses Common Lisp idioms making it easier to extend and more flexible.  As
+with the reference implementation it includes a parser for the reStructured
+text plaintext markup syntax which is suitable for marking up documentation
+and for use as user markup for collaborative web sites.  It is successfully
+used to support a higher education peer-review assessment and online tutorial
+system.")
+      (home-page "http://www.jarw.org.uk/lisp/cl-docutils.html")
+      (license license:gpl3))))
+
+(define-public cl-docutils
+  (sbcl-package->cl-source-package sbcl-cl-docutils))
 
-(define-public ecl-data-format-validation
-  (sbcl-package->ecl-package sbcl-data-format-validation))
+(define-public ecl-cl-docutils
+  (sbcl-package->ecl-package sbcl-cl-docutils))
 
 (define-public sbcl-documentation-utils
   (let ((commit "98630dd5f7e36ae057fa09da3523f42ccb5d1f55")