From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ2et-0003vf-7x for guix-patches@gnu.org; Sun, 26 Nov 2017 14:32:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJ2eo-0006dM-84 for guix-patches@gnu.org; Sun, 26 Nov 2017 14:32:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJ2eo-0006dD-5L for guix-patches@gnu.org; Sun, 26 Nov 2017 14:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJ2en-0003W4-UT for guix-patches@gnu.org; Sun, 26 Nov 2017 14:32:01 -0500 Subject: [bug#29459] [PATCH] gnu: Add vim-fugitive. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ2e2-0003EO-WB for guix-patches@gnu.org; Sun, 26 Nov 2017 14:31:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJ2dy-0006Bc-2Q for guix-patches@gnu.org; Sun, 26 Nov 2017 14:31:15 -0500 Received: from flashner.co.il ([178.62.234.194]:35903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ2dx-0006BK-Rb for guix-patches@gnu.org; Sun, 26 Nov 2017 14:31:10 -0500 Received: from macbook41.lan (46-117-129-230.bb.netvision.net.il [46.117.129.230]) by flashner.co.il (Postfix) with ESMTPSA id DB03B40202 for ; Sun, 26 Nov 2017 19:31:08 +0000 (UTC) From: Efraim Flashner Date: Sun, 26 Nov 2017 21:31:04 +0200 Message-Id: <20171126193105.7349-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: 29459@debbugs.gnu.org * gnu/packages/vim.scm (vim-fugitive): New variable. --- gnu/packages/vim.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 0163662d1..63fa98a13 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -440,6 +440,45 @@ trouble using them, because you do not have to remem= ber each snippet name.") (home-page "https://github.com/Shougo/context_filetype.vim") (license license:expat)))) ; ??? check again =20 +(define-public vim-fugitive + (let ((commit "de6c05720cdf74c0218218d7207f700232a5b6dc") + (revision "1")) + (package + (name "vim-fugitive") + (version (string-append "2.2-" revision "." (string-take commit 7)= )) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tpope/vim-fugitive.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0zg9vv7hirnx45vc2mwgg0xijmwwz55bssyd6cpdz71wbhrcpxxb")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (vimfiles (string-append out "/share/vim/vimfiles"= )) + (doc (string-append vimfiles "/doc")) + (plugin (string-append vimfiles "/plugin"))) + (copy-recursively "doc" doc) + (copy-recursively "plugin" plugin) + #t)))))) + (home-page "https://github.com/tpope/vim-fugitive") + (synopsis "Vim plugin to work with Git") + (description "Vim-fugitive is a wrapper for Vim that complements t= he +command window, where you can stage and review your changes before the n= ext +commit or run any Git arbitrary command.") + (license license:vim)))) ; distributed under the same license as v= im + (define-public vim-airline (package (name "vim-airline") --=20 2.15.0