From: Jelle Licht <jlicht@fsfe.org>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] Add jq
Date: Sat, 26 Mar 2016 18:41:18 +0100 [thread overview]
Message-ID: <CAPsKtfKCWfAf=b5=YcNdf2satjLNYmAEdoVO6Cuh7uCY_xxftQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 52 bytes --]
... and the actual package I wanted to use on guix!
[-- Attachment #1.2: Type: text/html, Size: 77 bytes --]
[-- Attachment #2: 0002-gnu-Add-jq.patch --]
[-- Type: text/x-patch, Size: 1898 bytes --]
From 83cfc9414fca3ab57c949e18c1ceb375a179b59c Mon Sep 17 00:00:00 2001
From: Jelle Licht <jlicht@fsfe.org>
Date: Sat, 26 Mar 2016 18:31:23 +0100
Subject: [PATCH 2/2] gnu: Add jq
* gnu/packages/web.scm (jq): 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 516e623..e735410 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
+;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -56,6 +57,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages perl)
#:use-module (gnu packages texinfo)
+ #:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
#:use-module (gnu packages statistics))
@@ -3109,3 +3111,22 @@ callback or connection interfaces.")
"Gumbo is an implementation of the HTML5 parsing algorithm implemented as
a pure C99 library.")
(license l:asl2.0)))
+
+(define-public jq
+ (package
+ (name "jq")
+ (version "1.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/stedolan/"
+ "jq/archive/" name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0r9wac540z8p663xd8gnzgbzxcnqkdzkxs0dwz0x09wcs90pcrnm"))))
+ (inputs
+ `(("oniguruma" ,oniguruma)))
+ (build-system gnu-build-system)
+ (home-page "http://stedolan.github.io/jq/")
+ (synopsis "Command-line JSON processor")
+ (description "jq is a lightweight and flexible command-line JSON processor.")
+ (license l:cc-by3.0)))
--
2.7.3
next reply other threads:[~2016-03-26 17:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-26 17:41 Jelle Licht [this message]
2016-03-26 19:13 ` [PATCH 2/2] Add jq 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
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='CAPsKtfKCWfAf=b5=YcNdf2satjLNYmAEdoVO6Cuh7uCY_xxftQ@mail.gmail.com' \
--to=jlicht@fsfe.org \
--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.