gnu: Add python-pandocfilters.

* gnu/packages/textutils.scm (python-pandocfilters): New variable.
This commit is contained in:
Nicolas Goaziou 2019-06-19 22:01:53 +02:00
parent 0c842e3a59
commit 74247b80e5
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 25 additions and 0 deletions

View File

@ -851,3 +851,28 @@ Mainland China, Taiwan, and Hong-Kong.")
hosts and terminals. It converts input kanji code to designated kanji code
such as ISO-2022-JP, Shift_JIS, EUC-JP, UTF-8, UTF-16 or UTF-32.")
(license license:zlib))))
(define-public python-pandocfilters
(package
(name "python-pandocfilters")
(version "1.4.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pandocfilters" version))
(sha256
(base32
"1a8d9b7s48gmq9zj0pmbyv2sivn5i7m6mybgpkk4jm5vd7hp1pdk"))))
(build-system python-build-system)
(home-page "https://github.com/jgm/pandocfilters")
(synopsis "Python module for writing Pandoc filters")
(description "Pandoc is a powerful utility to transform various
input formats into a wide range of output formats. To alter the
exported output document, Pandoc allows the usage of filters, which
are pipes that read a JSON serialization of the Pandoc AST from stdin,
transform it in some way, and write it to stdout. It allows therefore
to alter the processing of Pandoc's supported input formats, for
instance one can add new syntax elements to markdown, etc.
This package provides Python bindings.")
(license license:bsd-3)))