summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2019-12-05 16:50:17 +0100
committerClément Lassieur <clement@lassieur.org>2019-12-05 16:54:59 +0100
commit34bf686952e0eb1ce52cea1c1563a94ee693d268 (patch)
treeec337cd21dfe1069b26c300a967e5dfa72a62282 /gnu
parent88f06fd0153ce5fa7bfe23be59eb7dcf20147e6c (diff)
downloadpatches-34bf686952e0eb1ce52cea1c1563a94ee693d268.tar
patches-34bf686952e0eb1ce52cea1c1563a94ee693d268.tar.gz
gnu: Add python-pykwalify.
* gnu/packages/python-xyz.scm (python-pykwalify): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 89be883cda..9dd97a61bd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16686,3 +16686,28 @@ scratch and manipulate data from Intel HEX file format. It also includes
several convenience Python scripts, including \"classic\" hex2bin and bin2hex
converters and more, those based on the library itself.")
(license license:bsd-3)))
+
+(define-public python-pykwalify
+ (package
+ (name "python-pykwalify")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pykwalify" version))
+ (sha256
+ (base32
+ "1cnfzkg1b01f825ikpw2fhjclf9c8akxjfrbd1vc22x1lg2kk2vy"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ;missing dependencies
+ (propagated-inputs
+ `(("python-dateutil" ,python-dateutil)
+ ("python-docopt" ,python-docopt)
+ ("python-pyyaml" ,python-pyyaml)))
+ (home-page "https://github.com/grokzen/pykwalify")
+ (synopsis
+ "Python lib/cli for JSON/YAML schema validation")
+ (description
+ "This package provides a parser, schema validator, and data binding tool
+for YAML and JSON.")
+ (license license:expat)))