summary refs log tree commit diff
path: root/gnu/packages/emacs.scm
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2018-06-01 09:48:12 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-02 16:02:51 +0200
commitc6c1f0bf413295ccb8ebbec5612bceee94f2bfe1 (patch)
tree71003594eec3c641a33611b86498baf00f82eea9 /gnu/packages/emacs.scm
parent22deb0343925e639269a50fabcfc53fc0f49f02e (diff)
downloadguix-c6c1f0bf413295ccb8ebbec5612bceee94f2bfe1.tar.gz
gnu: Add emacs-evil-magit.
* gnu/packages/emacs.scm (emacs-evil-magit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r--gnu/packages/emacs.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6b1de48e7a..61d01a9de6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10637,3 +10637,32 @@ Org-mode file, and citations of Zotero items in Pandoc Markdown files.")
      "This Emacs package configures Ediff to be friendlier to users of Vi-like
 keybindings.  Consult the help buffer for more information.")
     (license license:gpl3+)))
+
+(define-public emacs-evil-magit
+  (let ((commit "dbf5a646a7ce1c35c229dfdc423bd5ecd927a3a8"))
+    (package
+      (name "emacs-evil-magit")
+      (version (git-version "0.4.2" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-evil/evil-magit")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "0ya0dkviq4pi92ab69a4j674y5r1hc1x3x7r7hlm97ag3a6zfkav"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-evil" ,emacs-evil)
+         ("magit" ,magit)))
+      (home-page
+       "https://github.com/emacs-evil/evil-magit")
+      (synopsis "Evil-based key bindings for Magit")
+      (description
+       "This Emacs library configures Magit and Evil to play well with each other.
+For some background see @url{https://github.com/magit/evil-magit/issues/1}.
+See the README at @url{https://github.com/justbur/evil-magit} for a table
+describing the key binding changes.")
+      (license license:gpl3+))))