[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/31] gnu: Add python-jsonschema.
From: |
David Thompson |
Subject: |
[PATCH 05/31] gnu: Add python-jsonschema. |
Date: |
Fri, 5 Sep 2014 11:18:11 -0400 |
* gnu/packages/python.scm (python-jsonschema, python2-jsonschema): New
variables.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 35fcc2a..f5c5a14 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1074,3 +1074,28 @@ is useful for verifying HTTP requests.")
"Requests is an Apache2 Licensed HTTP library, written in Python, for
human beings.")
(license asl2.0)))
+
+(define-public python-jsonschema
+ (package
+ (name "python-jsonschema")
+ (version "2.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+
"https://pypi.python.org/packages/source/j/jsonschema/jsonschema-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1yik3031ziygvq66rj3mzfqdgxj29sg1bkfc46wsgi7lnbqs560j"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://github.com/Julian/jsonschema")
+ (synopsis "Implementation of JSON Schema for Python")
+ (description
+ "Jsonschema is an implementation of JSON Schema for Python.")
+ (license expat)))
+
+(define-public python2-jsonschema
+ (package-with-python2 python-jsonschema))
--
2.0.1
- [PATCH 01/31] gnu: Add python-exif-read., David Thompson, 2014/09/05
- [PATCH 02/31] gnu: Add python-pyld., David Thompson, 2014/09/05
- [PATCH 03/31] gnu: Add python-certifi., David Thompson, 2014/09/05
- [PATCH 07/31] gnu: Add python-mimeparse., David Thompson, 2014/09/05
- [PATCH 05/31] gnu: Add python-jsonschema.,
David Thompson <=
- [PATCH 04/31] gnu: Add python2-requests., David Thompson, 2014/09/05
- [PATCH 06/31] gnu: Add python-unidecode., David Thompson, 2014/09/05
- [PATCH 08/31] gnu: Add python-extras., David Thompson, 2014/09/05
- [PATCH 09/31] gnu: Add python-nose., David Thompson, 2014/09/05