diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-01-30 10:47:23 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-01-30 17:08:19 +0100 |
commit | 2b0bba49e19f560ed1de3634d28ee13532dcb823 (patch) | |
tree | c9fa0969d7daca433ee6d740ee9881e48d43f678 /gnu/packages/web.scm | |
parent | 582100a0c07a245abd1580e9caaf9896e0d0e67f (diff) | |
download | guix-2b0bba49e19f560ed1de3634d28ee13532dcb823.tar guix-2b0bba49e19f560ed1de3634d28ee13532dcb823.tar.gz |
gnu: Add jansson.
* gnu/packages/web.scm (jansson): New variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r-- | gnu/packages/web.scm | 21 |
1 files changed, 21 insertions, 0 deletions
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 <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 @@ 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. (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") |