aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-04-13 00:57:03 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-14 17:42:08 +0200
commitb571a69a0fb3ceb93c5f604017ad75a01f1e4e2c (patch)
tree91fd05647cd1211df33b6397e118a1a0db5fed0a
parenta8ef7ecc8e65f396d4625a2e7b665c78f2aebdd7 (diff)
downloadpatches-b571a69a0fb3ceb93c5f604017ad75a01f1e4e2c.tar
patches-b571a69a0fb3ceb93c5f604017ad75a01f1e4e2c.tar.gz
gnu: Add emacs-js2-refactor-el.
* gnu/packages/emacs-xyz.scm (emacs-js2-refactor-el): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs-xyz.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bce370ac7a..f48ecf6afe 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14398,6 +14398,39 @@ unescaping of quotes.")
buffers.")
(license license:gpl3+))))
+(define-public emacs-js2-refactor-el
+ (let ((commit "79124b3274c43ad1f9ec6205fa362576552db02f")
+ (version "0.9.0")
+ (revision "27"))
+ (package
+ (name "emacs-js2-refactor-el")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/magnars/js2-refactor.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wswhlpbd3airrhyncb9vblqigwnqg9n96z0iis8jnz37q2whica"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)
+ ("emacs-s" ,emacs-s)
+ ("emacs-js2-mode" ,emacs-js2-mode)
+ ("emacs-yasnippet" ,emacs-yasnippet)
+ ("emacs-multiple-cursors" ,emacs-multiple-cursors)))
+ (native-inputs
+ `(("emacs-buttercup" ,emacs-buttercup)
+ ("emacs-espuds" ,emacs-espuds)))
+ (home-page "https://github.com/magnars/js2-refactor.el")
+ (synopsis "JavaScript refactoring in Emacs")
+ (description "This package provides various refactoring functions for
+JavaScript.")
+ (license license:gpl3+))))
+
(define-public emacs-semantic-refactor
;; The last release, 0.5, was made on 2015-07-26 and there have been 47
;; commits since then.