Subject: bug#43010: closed (Re: [bug#43010] [PATCH] gnu: Add emacs-jq-mode.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 24 Aug 2020 11:01:01 +0000

Your bug report

#43010: [PATCH] gnu: Add emacs-jq-mode.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43010: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43010
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#43010] [PATCH] gnu: Add emacs-jq-mode.
From: Nicolas Goaziou <[email-masked]>
To: Michael Rohleder <[email-masked]>
Cc: [email-masked]
Date: Mon, 24 Aug 2020 12:59:55 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Michael Rohleder <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-jq-mode): New variable.

I fixed the license and applied your patch. Thanks!

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-jq-mode.
From: Michael Rohleder <[email-masked]>
To: [email-masked]
Cc: Michael Rohleder <[email-masked]>
Date: Mon, 24 Aug 2020 02:18:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6caa8d1106..878cd9c7e7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11708,6 +11708,27 @@ from within Emacs.  Restclient runs queries from a plan-text query sheet,
 displays results pretty-printed in XML or JSON with @code{restclient-mode}")
       (license license:public-domain))))
 
+(define-public emacs-jq-mode
+  (package
+    (name "emacs-jq-mode")
+    (version "0.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ljos/jq-mode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0xk0if5i9cz4w06lx8v1vdm112pn1ybqgfw048sx15yyvfzgril1"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ljos/jq-mode")
+    (synopsis "Major mode for editing jq queries")
+    (description
+     "@code{emacs-jq-mode} is an emacs major mode for editing jq-scripts.")
+    (license license:gpl3)))
+
 (define-public emacs-whitespace-cleanup-mode
   (let ((commit "72427144b054b0238a86e1348c45d986b8830d9d")
         (revision "1"))
-- 
2.28.0