From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 05/31] gnu: Add python-jsonschema. Date: Fri, 5 Sep 2014 11:18:11 -0400 Message-ID: <1409930317-13220-5-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHw-0000rP-MF for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHo-0003YS-9v for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:00 -0400 Received: from na3sys009aog108.obsmtp.com ([74.125.149.199]:47362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHo-0003YM-2m for guix-devel@gnu.org; Fri, 05 Sep 2014 11:18:52 -0400 Received: by mail-yh0-f50.google.com with SMTP id f10so7606642yha.9 for ; Fri, 05 Sep 2014 08:18:51 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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