From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3Jhm-0002P0-M6 for guix-patches@gnu.org; Sat, 14 Oct 2017 06:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3Jhk-0007BL-4m for guix-patches@gnu.org; Sat, 14 Oct 2017 06:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58427) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3Jhk-0007BG-0c for guix-patches@gnu.org; Sat, 14 Oct 2017 06:30:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3Jhj-0007bR-Nk for guix-patches@gnu.org; Sat, 14 Oct 2017 06:30:03 -0400 Subject: [bug#28832] [PATCH 3/3] gnu: Add emacs-json-mode. Resent-Message-ID: From: Oleg Pykhalov Date: Sat, 14 Oct 2017 13:29:15 +0300 Message-Id: <20171014102915.11778-3-go.wigust@gmail.com> In-Reply-To: <20171014102915.11778-1-go.wigust@gmail.com> References: <20171014102915.11778-1-go.wigust@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28832@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-json-mode): New variable. --- gnu/packages/emacs.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 9bf7acf0b..78a950900 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -5638,6 +5638,29 @@ running a customisable handler command (@code{ignore} by default). ") a @url{http://json.org/, JSON} file.") (license license:gpl3+))) +(define-public emacs-json-mode + (package + (name "emacs-json-mode") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/joshwnj/json-mode/archive/" + "v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06h45p4cn767pk9sqi2zb1c65wy5gyyijqxzpglp80zwxhvajdz5")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-json-reformat" ,emacs-json-reformat) + ("emacs-json-snatcher" ,emacs-json-snatcher))) + (home-page "https://github.com/joshwnj/json-mode") + (synopsis "Major mode for editing JSON files") + (description "@code{json-mode} extends the builtin js-mode syntax +highlighting.") + (license license:gpl3+))) + (define-public emacs-restclient (let ((commit "07a3888bb36d0e29608142ebe743b4362b800f40") (revision "1")) ;Guix package revision, -- 2.14.2