gnu: Add python-citeproc-py.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Konrad Hinsen 2020-09-16 12:20:08 +02:00 committed by Ludovic Courtès
parent de8cc74749
commit d076ddc560
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -22046,3 +22046,28 @@ (define-public python-rnc2rng
a Python library to convert RELAX NG schemata in Compact syntax (rnc) to
equivalent schemata in the XML-based default RELAX NG syntax.")
(license license:expat)))
(define-public python-citeproc-py
(package
(name "python-citeproc-py")
(version "0.5.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "citeproc-py" version))
(sha256
(base32
"00aaff50jy4j0nakdzq9258z1gzrac9baarli2ymgspj88jg5968"))))
(build-system python-build-system)
(propagated-inputs
`(("python-lxml" ,python-lxml)
("python-rnc2rng" ,python-rnc2rng)))
(home-page
"https://github.com/brechtm/citeproc-py")
(synopsis "Citations and bibliography formatter")
(description
"Citeproc-py is a CSL processor for Python. It aims to implement the
CSL 1.0.1 specification. citeproc-py can output styled citations and
bibliographies in a number of different output formats. Currently supported
are plain text, reStructuredText and HTML.")
(license license:bsd-2)))