gnu: Add python-commonmark.

* gnu/packages/python-xyz.scm (python-commonmark): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Vinicius Monego 2020-11-21 23:48:18 -03:00 committed by Nicolas Goaziou
parent 993af4a60f
commit 77a98bcd6e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8892,6 +8892,32 @@ (define-public python-wrapt
(define-public python2-wrapt
(package-with-python2 python-wrapt))
(define-public python-commonmark
(package
(name "python-commonmark")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "commonmark" version))
(sha256
(base32 "0q7d39lm8kcingpmykk5r959hrwwj6v2icyw3mihczxyb749sbs5"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "python" "setup.py" "test"))))))
(home-page "https://github.com/readthedocs/commonmark.py")
(synopsis "Python parser for the CommonMark Markdown spec")
(description
"This module is a pure Python port of jgm's @code{commonmark.js}, a
Markdown parser and renderer for the CommonMark specification, using only
native modules.")
(license license:bsd-3)))
(define-public python-xlrd
(package
(name "python-xlrd")