me
/
guix
Archived
1
0
Fork 0

gnu: Add python-rnc2rng.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Konrad Hinsen 2020-09-16 12:19:22 +02:00 committed by Ludovic Courtès
parent 620681534a
commit de8cc74749
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 27 additions and 0 deletions

View File

@ -22019,3 +22019,30 @@ By default it uses the open Python vulnerability database Safety DB.")
(description "pypandoc is a thin Python wrapper around pandoc (description "pypandoc is a thin Python wrapper around pandoc
and pandoc-citeproc.") and pandoc-citeproc.")
(license license:expat))) (license license:expat)))
(define-public python-rnc2rng
(package
(name "python-rnc2rng")
(version "2.6.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "rnc2rng" version))
(sha256
(base32
"1kmp3iwxxyzjsd47j2sprd47ihhkwhb3yydih3af5bbfq0ibh1w8"))))
(build-system python-build-system)
(propagated-inputs
`(("python-rply" ,python-rply)))
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "python" "test.py"))))))
(home-page "https://github.com/djc/rnc2rng")
(synopsis "Convert RELAX NG Compact to regular syntax")
(description
"This package provides the @command{rnc2rng} command-line tool as well as
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)))