From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH]: Add jansson. Date: Fri, 30 Jan 2015 10:51:00 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH8ER-0002SS-MP for guix-devel@gnu.org; Fri, 30 Jan 2015 04:51:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YH8EM-0007MZ-Vp for guix-devel@gnu.org; Fri, 30 Jan 2015 04:51:19 -0500 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:35459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH8EM-0007MB-Ib for guix-devel@gnu.org; Fri, 30 Jan 2015 04:51:14 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP id 57030280681 for ; Fri, 30 Jan 2015 10:51:07 +0100 (CET) Received: from sinope.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0WekUeRJwzBO for ; Fri, 30 Jan 2015 10:51:01 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP for ; Fri, 30 Jan 2015 10:51:01 +0100 (CET) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel --=-=-= Content-Type: text/plain Hi Guix, Attached is a patch to add the jansson JSON library to gnu/packages/web.scm. ~~ Ricardo --=-=-= Content-Type: text/x-patch; charset="utf-8" Content-Disposition: attachment; filename="0001-gnu-Add-jansson.patch" Content-Transfer-Encoding: quoted-printable >From 55b0351c9f2d0c804cc6f02984edbd187b84e750 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 554f2a3..7abed9d 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2013 Aljosha Papsch ;;; Copyright =C2=A9 2014, 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2014 Mark H Weaver +;;; Copyright =C2=A9 2015 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -142,6 +143,26 @@ and as a proxy to reduce the load on back-end HTTP o= r 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)))) =20 +(define-public jansson + (package + (name "jansson") + (version "2.7") + (source (origin + (method url-fetch) + (uri + (string-append "http://www.digip.org/jansson/releases/jans= son-" + 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 JSO= N +data.") + (license l:expat))) + (define-public json-c (package (name "json-c") --=20 1.9.3 --=-=-=--