From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOeo5-0002dU-Vi for guix-patches@gnu.org; Fri, 01 Jun 2018 03:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOeo2-0007Cn-SK for guix-patches@gnu.org; Fri, 01 Jun 2018 03:49:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOeo2-0007Cb-NY for guix-patches@gnu.org; Fri, 01 Jun 2018 03:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fOeo2-0004Xh-H0 for guix-patches@gnu.org; Fri, 01 Jun 2018 03:49:02 -0400 Subject: [bug#31507] [PATCH 04/21] gnu: Add emacs-evil-magit. References: <20180518184910.9987-9-ambrevar@gmail.com> In-Reply-To: <20180518184910.9987-9-ambrevar@gmail.com> Resent-Message-ID: From: Pierre Neidhardt Date: Fri, 1 Jun 2018 09:48:12 +0200 Message-Id: <20180601074812.26837-1-ambrevar@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: 31507@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-evil-magit): New variable. --- gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 0c2081c90..032fba56c 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -10624,3 +10624,32 @@ Org-mode file, and citations of Zotero items in Pandoc Markdown files.") users of Vim-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 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+)))) -- 2.17.0