gnu: Add jansson.
* gnu/packages/web.scm (jansson): New variable.
This commit is contained in:
parent
582100a0c0
commit
2b0bba49e1
|
@ -3,6 +3,7 @@
|
||||||
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
|
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
|
||||||
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||||
|
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -142,6 +143,26 @@ and as a proxy to reduce the load on back-end HTTP or mail servers.")
|
||||||
;; except for two source files which are bsd-4 licensed.
|
;; except for two source files which are bsd-4 licensed.
|
||||||
(license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
|
(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
|
(define-public json-c
|
||||||
(package
|
(package
|
||||||
(name "json-c")
|
(name "json-c")
|
||||||
|
|
Loading…
Reference in New Issue