guix-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]