all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Dvorsak <eric@dvorsak.fr>
To: guix-devel@gnu.org
Subject: [PATCH 2/7] gnu: Add libyajl.
Date: Mon, 17 Aug 2015 22:06:01 +0200	[thread overview]
Message-ID: <1439841966-12052-2-git-send-email-eric@dvorsak.fr> (raw)
In-Reply-To: <1439841966-12052-1-git-send-email-eric@dvorsak.fr>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1640 bytes --]

* 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 © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -287,6 +288,26 @@ parse JSON formatted strings back into the C representation of JSON objects.")
 style API.")
     (license l:expat)))
 
+(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")
-- 
2.4.3

  reply	other threads:[~2015-08-17 20:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17 20:06 [PATCH 1/7] gnu: Add Pod-Simple Eric Dvorsak
2015-08-17 20:06 ` Eric Dvorsak [this message]
2015-08-18  9:34   ` [PATCH 2/7] gnu: Add libyajl Ricardo Wurmus
2015-08-23 16:38   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 3/7] gnu: Add libev Eric Dvorsak
2015-08-23 16:42   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 4/7] gnu: Add xcb-util-cursor Eric Dvorsak
2015-08-23 16:43   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 5/7] gnu: Add i3-wm Eric Dvorsak
2015-08-23 16:45   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 6/7] gnu: Add libconfuse Eric Dvorsak
2015-08-23 16:46   ` Eric Bavier
2015-08-17 20:06 ` [PATCH 7/7] gnu: Add i3status Eric Dvorsak
2015-08-23 16:37 ` [PATCH 1/7] gnu: Add Pod-Simple Eric Bavier
  -- strict thread matches above, loose matches on Subject: below --
2015-08-17  3:05 Eric Dvorsak
2015-08-17  3:05 ` [PATCH 2/7] gnu: Add libyajl Eric Dvorsak
2015-08-17  2:05 [PATCH 1/7] gnu: Add Pod-Simple Eric Dvorsak
2015-08-17  2:05 ` [PATCH 2/7] gnu: Add libyajl Eric Dvorsak
2015-08-16 23:27   ` Eric Bavier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439841966-12052-2-git-send-email-eric@dvorsak.fr \
    --to=eric@dvorsak.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.