gnu: Add python-mdit-py-plugins.

* gnu/packages/python-xyz.scm (python-mdit-py-plugins): New variable.
This commit is contained in:
Mădălin Ionel Patrașcu 2022-10-13 13:40:04 +02:00 committed by Ricardo Wurmus
parent 447400c853
commit c28598db5b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -675,6 +675,44 @@ (define-public python-lunr
that best match text queries.") that best match text queries.")
(license license:expat))) (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 (define-public python-mdurl
(package (package
(name "python-mdurl") (name "python-mdurl")