summary refs log tree commit diff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2022-10-13 13:40:04 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-10-27 13:25:15 +0200
commitc28598db5bf7590786b25a543d948ad95e6fc0dd (patch)
tree08c09853bb94ae762ad819b7a3fab54c788b7b9d /gnu/packages/python-xyz.scm
parent447400c85321f2d246c82b861e9f159fe2a84cef (diff)
downloadguix-c28598db5bf7590786b25a543d948ad95e6fc0dd.tar.gz
gnu: Add python-mdit-py-plugins.
* gnu/packages/python-xyz.scm (python-mdit-py-plugins): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d1787c3667..8a03b94345 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -675,6 +675,44 @@ It indexes documents and provides a search interface for retrieving documents
 that best match text queries.")
     (license license:expat)))
 
+(define-public python-mdit-py-plugins
+  (package
+    (name "python-mdit-py-plugins")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "mdit-py-plugins" version))
+       (sha256
+        (base32
+         "0l4pwsn2q30j160zjg79qa8v2brc4zl295rgrkpbfspcxr8lzhpc"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-markdown-it-py))
+    (native-inputs
+     (list python-coverage
+           python-pytest
+           python-pytest-cov
+           python-pytest-regressions))
+    (home-page "https://github.com/executablebooks/mdit-py-plugins")
+    (synopsis "Collection of plugins for markdown-it-py")
+    (description
+     "This package contains a collection of plugins for @code{markdown-it-py}
+like:
+
+@enumerate
+@item amsmath,
+@item attrs,
+@item container,
+@item definition list,
+@item dollarmath,
+@item field list,
+@item footnote,
+@item textmath, and
+@item wordcount.
+@end enumerate
+")
+    (license license:expat)))
+
 (define-public python-mdurl
   (package
     (name "python-mdurl")