unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43010] [PATCH] gnu: Add emacs-jq-mode.
@ 2020-08-24  0:18 Michael Rohleder
  2020-08-24 10:59 ` bug#43010: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2020-08-24  0:18 UTC (permalink / raw)
  To: 43010; +Cc: Michael Rohleder

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#43010: [PATCH] gnu: Add emacs-jq-mode.
  2020-08-24  0:18 [bug#43010] [PATCH] gnu: Add emacs-jq-mode Michael Rohleder
@ 2020-08-24 10:59 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-08-24 10:59 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 43010-done

Hello,

Michael Rohleder <mike@rohleder.de> writes:

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

I fixed the license and applied your patch. Thanks!

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-24 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24  0:18 [bug#43010] [PATCH] gnu: Add emacs-jq-mode Michael Rohleder
2020-08-24 10:59 ` bug#43010: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).