From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH 2/7] gnu: Add libyajl. Date: Tue, 18 Aug 2015 11:34:01 +0200 Message-ID: References: <1439841966-12052-1-git-send-email-eric@dvorsak.fr> <1439841966-12052-2-git-send-email-eric@dvorsak.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRdHc-0001Cp-Ah for guix-devel@gnu.org; Tue, 18 Aug 2015 05:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRdHX-0001nf-5u for guix-devel@gnu.org; Tue, 18 Aug 2015 05:34:16 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:39190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRdHW-0001n2-MB for guix-devel@gnu.org; Tue, 18 Aug 2015 05:34:10 -0400 In-Reply-To: <1439841966-12052-2-git-send-email-eric@dvorsak.fr> 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: Eric Dvorsak Cc: guix-devel@gnu.org > * gnu/packages/web.scm (libyajl): 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 48bfbc7..b93b569 100644 > --- a/gnu/packages/web.scm > +++ b/gnu/packages/web.scm > @@ -6,6 +6,7 @@ > ;;; Copyright =C3=82=C2=A9 2015 Ricardo Wurmus > ;;; Copyright =C3=82=C2=A9 2015 Taylan Ulrich Bay=C3=84=C2=B1rl=C3=84=C2= =B1/Kammer > ;;; Copyright =C3=82=C2=A9 2015 Eric Bavier > +;;; Copyright =C3=82=C2=A9 2015 Eric Dvorsak > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -287,6 +288,26 @@ parse JSON formatted strings back into the C repre= sentation of JSON objects.") > style API.") > (license l:expat))) > =20 > +(define-public libyajl > + (package > + (name "libyajl") > + (version "2.1.0") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://github.com/lloyd/yajl/" > + "archive/" version ".tar.gz")) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"= )))) > + (build-system cmake-build-system) > + (home-page "https://lloyd.github.io/yajl/") > + (synopsis "C library for parsing JSON") > + (description "Yet Another JSON Library. YAJL is a small > +event-driven (SAX-style) JSON parser written in ANSI C, and a small > +validating JSON generator.") > + (license l:isc))) > + > (define-public libwebsockets > (package > (name "libwebsockets") Looks good to me. ~~ Ricardo