Subject: [PATCH] gnu: Add emacs-counsel-jq.
From: Joseph LaFreniere <[email-masked]>
To: [email-masked]
Date: Mon, 07 Dec 2020 01:11:23 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch file is attached.  I used the latest commit (as of this 
writing) rather than the most recent release since there have been 
a bugfixes since the release and no deprecations.

--
Joseph LaFreniere
From ef6debd7a63b5254a70b90bbae4e388cd00917a8 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <[email-masked]>
Date: Mon, 7 Dec 2020 00:58:29 -0600
Subject: [PATCH] gnu: Add emacs-counsel-jq.

* gnu/packages/emacs-xyz.scm (emacs-counsel-jq): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8a03b2d7a3..de0b8e6103 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7783,6 +7783,33 @@ The purpose of this library is to wrap all the quirks and hassle of
 @code{package.el} into a sane API.")
     (license license:gpl3+)))
 
+(define-public emacs-counsel-jq
+  (let ((release "1.0.0")
+        (revision "0")
+        (commit "aaf33fc2447096cd0d03b77395fe2a95c9fe1481"))
+    (package
+      (name "emacs-counsel-jq")
+      (version (git-version release revision commit))
+      (home-page "https://github.com/200ok-ch/counsel-jq")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10rz0qm8a4bl0m86kx19zq8lri047p4sxqyny08bgm9pbam0wvwn"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-swiper" ,emacs-swiper)
+         ("jq" ,jq)))
+      (synopsis "Live preview @code{jq} queries using counsel")
+      (description
+       "This Emacs package provides the ability to live preview @code{jq}
+queries using counsel.")
+      (license license:gpl3+))))
+
 (define-public emacs-counsel-notmuch
   ;; Upstream provides no release.  Extract version for main file.
   (let ((commit "a4a1562935e4180c42524c51609d1283e9be0688")
-- 
2.29.2