From 6050a1fb30378b46bf443efd8e99ac310f8356eb Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Mon, 31 Mar 2014 20:18:52 +0200 Subject: [PATCH] gnu: Add guile-json. * 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 d1ea6e8fd0..5132a117a8 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 "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