all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Bavier <ericbavier@openmailbox.org>
To: Eric Dvorsak <eric@dvorsak.fr>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/7] gnu: Add libyajl.
Date: Sun, 16 Aug 2015 18:27:44 -0500	[thread overview]
Message-ID: <20150816182744.384d86a6@openmailbox.org> (raw)
In-Reply-To: <1439777162-7769-2-git-send-email-eric@dvorsak.fr>

On Mon, 17 Aug 2015 04:05:57 +0200
Eric Dvorsak <eric@dvorsak.fr> wrote:

> * gnu/packages/web.scm (libyajl): New variable.
> ---
>  gnu/packages/web.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 48bfbc7..07054c2 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,24 @@ 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"))

Wrap this line to 80 characters.

It would also be nice to provide a "file-name" field so that the tarball
is put in the store with a meaningful name, rather than just
"2.1.0.tar.gz".  E.g.:

  (file-name (string-append name "-" version ".tar.gz"))

See the aardict package for an example.

> +              (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 isc)))
> +
>  (define-public libwebsockets
>    (package
>      (name "libwebsockets")

Otherwise looks good to me.

Thanks,
`~Eric

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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17  2:05 [PATCH 1/7] gnu: Add Pod-Simple Eric Dvorsak
2015-08-16 23:17 ` Eric Bavier
2015-08-17  2:05 ` [PATCH 2/7] gnu: Add libyajl Eric Dvorsak
2015-08-16 23:27   ` Eric Bavier [this message]
2015-08-17  2:05 ` [PATCH 3/7] gnu: Add libev Eric Dvorsak
2015-08-16 23:34   ` Eric Bavier
2015-08-17  2:05 ` [PATCH 4/7] gnu: Add xcb-util-cursor Eric Dvorsak
2015-08-17  2:06 ` [PATCH 5/7] gnu: Add i3-wm Eric Dvorsak
2015-08-17  2:06 ` [PATCH 6/7] gnu: Add libconfuse Eric Dvorsak
2015-08-17  2:06 ` [PATCH 7/7] gnu: Add i3status Eric Dvorsak
  -- strict thread matches above, loose matches on Subject: below --
2015-08-17  3:05 [PATCH 1/7] gnu: Add Pod-Simple Eric Dvorsak
2015-08-17  3:05 ` [PATCH 2/7] gnu: Add libyajl Eric Dvorsak
2015-08-17 20:06 [PATCH 1/7] gnu: Add Pod-Simple Eric Dvorsak
2015-08-17 20:06 ` [PATCH 2/7] gnu: Add libyajl Eric Dvorsak
2015-08-18  9:34   ` Ricardo Wurmus
2015-08-23 16:38   ` 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=20150816182744.384d86a6@openmailbox.org \
    --to=ericbavier@openmailbox.org \
    --cc=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.