From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH] gnu: Add guile-json. Date: Mon, 31 Mar 2014 20:21:24 +0200 Message-ID: <1396290084-18319-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUgvI-0006UZ-Uz for guix-devel@gnu.org; Mon, 31 Mar 2014 14:27:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUgvD-00025G-Uo for guix-devel@gnu.org; Mon, 31 Mar 2014 14:27:04 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:60243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUgvD-000256-OL for guix-devel@gnu.org; Mon, 31 Mar 2014 14:26:59 -0400 Received: by mail-wi0-f180.google.com with SMTP id q5so3827949wiv.7 for ; Mon, 31 Mar 2014 11:26:58 -0700 (PDT) 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/guile.scm (guile-json): New variable. --- gnu/packages/guile.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index d1ea6e8..3394f8a 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -326,4 +326,28 @@ for Guile\".") ;; details. (license gpl3+))) +(define-public guile-json + (package + (name "guile-json") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://savannah/guile-json/guile-json-" + version ".tar.gz")) + (sha256 + (base32 + "0nz2sx61kd6cfflwzxxq0cb9dz0asb81abbhfawv4p9ghciqdr3g")))) + (build-system gnu-build-system) + (inputs `(("guile" ,guile-2.0))) + (home-page "http://savannah.nongnu.org/projects/guile-json/") + (synopsis "A JSON module for Guile") + (description + "Guile-json supports parsing and building JSON documents according to the +http:://json.org specification. These are the main features: +- Strictly complies to http://json.org specification. +- Build JSON documents programmatically via macros. +- Unicode support for strings. +- Allows JSON pretty printing.") + (license lgpl3+))) + ;;; guile.scm ends here -- 1.8.4.rc3