aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-04-13 01:11:29 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-14 17:42:11 +0200
commit226ab1bc01ad20db38879473d323d725ba36e83b (patch)
tree1c6f4c73b465782df92900f92387545c45c2c59d
parentfa07cf621ebb1673adb6fa17b52e4badfebc911d (diff)
downloadpatches-226ab1bc01ad20db38879473d323d725ba36e83b.tar
patches-226ab1bc01ad20db38879473d323d725ba36e83b.tar.gz
gnu: Add emacs-rjsx-mode.
* gnu/packages/emacs-xyz.scm (emacs-rjsx-mode): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1c3d0bbb23..ae118a459b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14832,6 +14832,32 @@ Emacs to find project-specific installations of packages.")
definition-jumping and type-checking on demand.")
(license license:bsd-3))))
+(define-public emacs-rjsx-mode
+ (let ((commit "03dd8d1683501e81b58674d64c3032b7b718402c")
+ (version "0.4.0")
+ (revision "35"))
+ (package
+ (name "emacs-rjsx-mode")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/felipeochoa/rjsx-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1kc44g9f38klpjklmz9n50a28nqv7prz6ck6ghdr6bnj1s98pb8a"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-js2-mode" ,emacs-js2-mode)))
+ (home-page "https://github.com/felipeochoa/rjsx-mode")
+ (synopsis "Major mode for JSX files")
+ (description "This package extends the parser of @code{js2-mode} to
+support JSX syntax.")
+ (license license:expat))))
+
(define-public emacs-semantic-refactor
;; The last release, 0.5, was made on 2015-07-26 and there have been 47
;; commits since then.