From 2b0bba49e19f560ed1de3634d28ee13532dcb823 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 30 Jan 2015 10:47:23 +0100 Subject: [PATCH] gnu: Add jansson. * gnu/packages/web.scm (jansson): New variable. --- gnu/packages/web.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 554f2a3ae4..7abed9d84a 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2013 Aljosha Papsch ;;; Copyright © 2014, 2015 Ludovic Courtès ;;; Copyright © 2014 Mark H Weaver +;;; Copyright © 2015 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -142,6 +143,26 @@ (define-public nginx ;; except for two source files which are bsd-4 licensed. (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4)))) +(define-public jansson + (package + (name "jansson") + (version "2.7") + (source (origin + (method url-fetch) + (uri + (string-append "http://www.digip.org/jansson/releases/jansson-" + version ".tar.gz")) + (sha256 + (base32 + "1mvq9p85khsl818i4vbszyfab0fd45mdrwrxjkzw05mk1xcyc1br")))) + (build-system gnu-build-system) + (home-page "http://www.digip.org/jansson/") + (synopsis "JSON C library") + (description + "Jansson is a C library for encoding, decoding and manipulating JSON +data.") + (license l:expat))) + (define-public json-c (package (name "json-c")