me
/
guix
Archived
1
0
Fork 0

gnu: Add python-readme-renderer.

* gnu/packages/python-xyz.scm (python-readme-renderer): New variable.
master
Efraim Flashner 2020-07-21 11:02:18 +03:00
parent ff1233d86a
commit 7bef1f6cd5
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 29 additions and 0 deletions

View File

@ -20621,3 +20621,32 @@ For the most part it's transliterated from C, the major differences are:
"Blessed is a thin, practical wrapper around terminal styling, screen "Blessed is a thin, practical wrapper around terminal styling, screen
positioning, and keyboard input.") positioning, and keyboard input.")
(license license:expat))) (license license:expat)))
(define-public python-readme-renderer
(package
(name "python-readme-renderer")
(version "26.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "readme_renderer" version))
(sha256
(base32
"13fnrv7z3y0yfafzcjbl55cqxncvbxadr72ql4l29pgyvrqxpsfb"))))
(build-system python-build-system)
(propagated-inputs
`(("python-bleach" ,python-bleach)
("python-docutils" ,python-docutils)
("python-pygments" ,python-pygments)
("python-six" ,python-six)))
(native-inputs
`(("python-mock" ,python-mock)
("python-pytest" ,python-pytest)))
(home-page "https://github.com/pypa/readme_renderer")
(synopsis "Render README files in Warehouse")
(description
"Readme Renderer is a library that will safely render arbitrary README
files into HTML. It is designed to be used in Warehouse to render the
@code{long_description} for packages. It can handle Markdown, reStructuredText,
and plain text.")
(license license:asl2.0)))