[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add python-rnc2rng.
From: |
guix-commits |
Subject: |
04/06: gnu: Add python-rnc2rng. |
Date: |
Mon, 21 Sep 2020 17:38:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit de8cc74749525aa4266137c25a38d46361dacb9b
Author: Konrad Hinsen <konrad.hinsen@fastmail.net>
AuthorDate: Wed Sep 16 12:19:22 2020 +0200
gnu: Add python-rnc2rng.
* gnu/packages/python-xyz.scm (python-rnc2rng): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 085d88d..004f07c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22019,3 +22019,30 @@ By default it uses the open Python vulnerability
database Safety DB.")
(description "pypandoc is a thin Python wrapper around pandoc
and pandoc-citeproc.")
(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)))
- branch master updated (a2b2589 -> 92951bf), guix-commits, 2020/09/21
- 01/06: environment: '--link-profile' uses ~/.guix-profile for environment variables., guix-commits, 2020/09/21
- 02/06: gnu: gdsl: Replace 'url-fetch' by 'git-fetch'., guix-commits, 2020/09/21
- 03/06: guix: scripts: build: Mention 'PACKAGE' in '--with-source' option., guix-commits, 2020/09/21
- 06/06: bash completion: Complete file names after 'guix package -p'., guix-commits, 2020/09/21
- 04/06: gnu: Add python-rnc2rng.,
guix-commits <=
- 05/06: gnu: Add python-citeproc-py., guix-commits, 2020/09/21