From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dvorsak Subject: [PATCH 2/7] gnu: Add libyajl. Date: Mon, 17 Aug 2015 22:06:01 +0200 Message-ID: <1439841966-12052-2-git-send-email-eric@dvorsak.fr> References: <1439841966-12052-1-git-send-email-eric@dvorsak.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRQfl-0000Ng-1h for guix-devel@gnu.org; Mon, 17 Aug 2015 16:06:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRQfh-0004Pu-Ip for guix-devel@gnu.org; Mon, 17 Aug 2015 16:06:20 -0400 Received: from 16.mo1.mail-out.ovh.net ([178.33.104.224]:51181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRQfh-0004PX-DU for guix-devel@gnu.org; Mon, 17 Aug 2015 16:06:17 -0400 Received: from mail620.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo1.mail-out.ovh.net (Postfix) with SMTP id 88582FFA8F0 for ; Mon, 17 Aug 2015 22:06:16 +0200 (CEST) In-Reply-To: <1439841966-12052-1-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: 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 =C2=A9 2015 Ricardo Wurmus ;;; Copyright =C2=A9 2015 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer ;;; Copyright =C2=A9 2015 Eric Bavier +;;; Copyright =C2=A9 2015 Eric Dvorsak ;;; ;;; This file is part of GNU Guix. ;;; @@ -287,6 +288,26 @@ parse JSON formatted strings back into the C represe= ntation 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") --=20 2.4.3