gnu: Add jansson.

* gnu/packages/web.scm (jansson): New variable.
This commit is contained in:
Ricardo Wurmus 2015-01-30 10:47:23 +01:00
parent 582100a0c0
commit 2b0bba49e1

View file

@ -3,6 +3,7 @@
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; 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")