Subject: [bug#58490] [PATCH 3/5] gnu: Add python-mdit-py-plugins. X-Debbugs-Cc: [email-masked]

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Thu, 13 Oct 2022 13:40:04 +0200

* gnu/packages/python-xyz.scm (python-mdit-py-plugins): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 33b6c62346..6c111bcb82 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -625,6 +625,33 @@ (define-public python-lunr
 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: @code{amsmath}, @code{attrs}, @code{container}, @code{definition list},
+@code{dollarmath}, @code{field list}, @code{footnote}, @code{textmath},
+@code{wordcount}.")
+    (license license:expat)))
+
 (define-public python-mdurl
   (package
     (name "python-mdurl")
-- 
2.37.3