From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 2/2] Add jq Date: Sat, 26 Mar 2016 19:26:21 -0400 Message-ID: <20160326232621.GA4950@jasmine> References: <1459019619.979274.560403538.738A9771@webmail.messagingengine.com> <20160326224554.GA430@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajxb8-000116-NA for guix-devel@gnu.org; Sat, 26 Mar 2016 19:26:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajxb3-0004L7-O3 for guix-devel@gnu.org; Sat, 26 Mar 2016 19:26:26 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:39977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajxb3-0004L3-KJ for guix-devel@gnu.org; Sat, 26 Mar 2016 19:26:21 -0400 Content-Disposition: inline In-Reply-To: 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: Jelle Licht Cc: guix-devel@gnu.org On Sat, Mar 26, 2016 at 11:53:24PM +0100, 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? In this case I think the description should be changed. > > -- > Jelle > > > 2016-03-26 23:45 GMT+01:00 Leo Famulari : > > > 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? > >