mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add python-mistletoe.
* gnu/packages/markup.scm (python-mistletoe): New variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
parent
40d77b8fee
commit
80599a739d
1 changed files with 24 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2020 EuAndreh <eu@euandre.org>
|
||||
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -31,6 +32,7 @@ (define-module (gnu packages markup)
|
|||
#:use-module (guix build-system trivial)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages)
|
||||
|
@ -300,3 +302,25 @@ (define-public md4c
|
|||
SAX-like interface. It is compliant to the CommonMark specification,
|
||||
with a few extensions.")
|
||||
(license expat)))
|
||||
|
||||
(define-public python-mistletoe
|
||||
(package
|
||||
(name "python-mistletoe")
|
||||
(version "0.7.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "mistletoe" version))
|
||||
(sha256
|
||||
(base32 "18z6hqfnfjqnrcgfgl5pkj9ggf9yx0yyy94azcn1qf7hqn6g3l14"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/miyuchina/mistletoe")
|
||||
(synopsis "Extensible Markdown parser in pure Python")
|
||||
(description
|
||||
"The @code{mistletoe} Markdown parser is a CommonMark-compliant Markdown
|
||||
parser that supports definitions of custom tokens.
|
||||
|
||||
Parsing Markdown into an abstract syntax tree also allows @code{mistletoe} to
|
||||
swap out renderers for different output formats, without touching any of the
|
||||
core components.")
|
||||
(license expat)))
|
||||
|
|
Loading…
Reference in a new issue