From: John Soo <jsoo1@asu.edu>
To: 43930@debbugs.gnu.org
Subject: [bug#43930] gnu: Add emacs-graphql-mode.
Date: Sun, 11 Oct 2020 09:59:44 -0700 [thread overview]
Message-ID: <87imbgofzz.fsf@asu.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 104 bytes --]
Hi Guix,
I've been writing some graphql recently and graphql-mode has been
invaluable.
Thanks!
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-graphql-mode.patch --]
[-- Type: text/x-patch, Size: 1629 bytes --]
From b1203ce58608f70de97c9cf44f53eef026c60bf4 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 29 Sep 2020 09:58:05 -0700
Subject: [PATCH] gnu: Add emacs-graphql-mode.
* gnu/packages/emacs-xyz.scm (emacs-graphql-mode): New variable.
---
gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index fca4c22569..612248ad96 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -765,6 +765,31 @@ GraphQL is a data query language and runtime designed and used to request and
deliver data to mobile and web apps.")
(license license:gpl3+)))
+(define-public emacs-graphql-mode
+ (let ((commit "9bed568ec86242dbe30bdbab324aa0eb2cd9bf08")
+ (revision "1"))
+ (package
+ (name "emacs-graphql-mode")
+ (version commit)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/davazp/graphql-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0x9y7qq6y0zg8ncamzvk68ccmdyzh7xsj0xs0ykyl20d5wdpplj4"))))
+ (build-system emacs-build-system)
+ (home-page
+ "https://github.com/davazp/graphql-mode")
+ (synopsis "Emacs mode to edit GraphQL schema and queries")
+ (description
+ "This package provides an Emacs mode for editing graphql queries and
+schemas.")
+ (license license:gpl3+))))
+
(define-public emacs-ghub
(package
(name "emacs-ghub")
--
2.28.0
next reply other threads:[~2020-10-11 17:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-11 16:59 John Soo [this message]
2020-10-13 7:15 ` [bug#43930] gnu: Add emacs-graphql-mode Nicolas Goaziou
2020-10-19 17:44 ` John Soo
2020-10-19 20:45 ` bug#43930: " Nicolas Goaziou
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87imbgofzz.fsf@asu.edu \
--to=jsoo1@asu.edu \
--cc=43930@debbugs.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 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).