From: Alex Griffin <a@ajgrf.com>
To: Jelle Licht <jlicht@fsfe.org>, Leo Famulari <leo@famulari.name>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] Add jq
Date: Sat, 26 Mar 2016 18:15:53 -0500 [thread overview]
Message-ID: <1459034153.1019902.560507506.6F83B0A6@webmail.messagingengine.com> (raw)
In-Reply-To: <CAPsKtf+QJLRqOf6Y2LvBQ7tU7qSKt0RZZrEA9nX3vU0++hrMzg@mail.gmail.com>
Usually a second package is added which is just a variant on the first.
Something like this:
(define-public jq-no-oniq
(package
(inherit jq)
(name "jq-no-onig")
(inputs '())))
But in this case I'm not sure it's worth it. Maybe just remove the part
about zero dependencies from the description instead.
--
Alex Griffin
On Sat, Mar 26, 2016, at 05:53 PM, Jelle Licht wrote:
> From jq's README:
>
>> To get
regexp support you'll also need to install Oniguruma (note that jq's
tests require regexp support to pass).
>
> So it seems to be an optional dependency (which allows tests to pass and adds functionality). I could make it a build-time dependency, or not.
> What is the 'guix' way of handling these cases?
>
> --
> Jelle
>
>
> 2016-03-26 23:45 GMT+01:00 Leo Famulari <leo@famulari.name>:
>> On Sat, Mar 26, 2016 at 11:06:15PM +0100, Jelle Licht wrote:
>>
> + (inputs
>>
> + `(("oniguruma" ,oniguruma)))
>>
>>
>>
[...]
>>
>>
>>
> + (description "jq is like sed for JSON data – you can use it to slice and
>>
> +filter and map and transform structured data with the same ease that sed, awk,
>>
> +grep and friends let you play with text. It is written in portable C, and it
>>
> +has zero runtime dependencies. jq can mangle the data format that you have
>>
^-----------------------^
>>
>>
>>
Since oniguruma is listed as a run-time dependency, does this mean the
>>
description is wrong? Or is oniguruma only needed to build?
next prev parent reply other threads:[~2016-03-26 23:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-26 17:41 [PATCH 2/2] Add jq Jelle Licht
2016-03-26 19:13 ` Alex Griffin
2016-03-26 22:06 ` Jelle Licht
2016-03-26 22:45 ` Leo Famulari
2016-03-26 22:53 ` Jelle Licht
2016-03-26 23:15 ` Alex Griffin [this message]
2016-03-26 23:26 ` Leo Famulari
2016-03-26 23:34 ` Jelle Licht
2016-04-01 8:59 ` Alex Kost
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=1459034153.1019902.560507506.6F83B0A6@webmail.messagingengine.com \
--to=a@ajgrf.com \
--cc=guix-devel@gnu.org \
--cc=jlicht@fsfe.org \
--cc=leo@famulari.name \
/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.