diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2017-10-14 13:29:15 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-01-15 14:55:11 +0300 |
commit | dd72837dff128dbb1258826fe39467d1ef000ac1 (patch) | |
tree | 4227ec5aa6c1aee252bd3f032d87619bb47c678c | |
parent | b0912e9fdbffab15d9a754b2922778cfbd1fac2a (diff) | |
download | patches-dd72837dff128dbb1258826fe39467d1ef000ac1.tar patches-dd72837dff128dbb1258826fe39467d1ef000ac1.tar.gz |
gnu: Add emacs-json-mode.
* gnu/packages/emacs.scm (emacs-json-mode): New public variable.
-rw-r--r-- | gnu/packages/emacs.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 0ae44d52bc..bfce495b93 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -6017,6 +6017,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, |