gnu: vim-fugitive: Update to 2.3.

* gnu/packages/vim.scm (vim-fugitive): Update to 2.3.
This commit is contained in:
Efraim Flashner 2018-06-12 11:07:57 +03:00
parent 35a7e5742f
commit 261348e20d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 33 additions and 36 deletions

View File

@ -450,45 +450,42 @@ trouble using them, because you do not have to remember each snippet name.")
(home-page "https://github.com/Shougo/context_filetype.vim") (home-page "https://github.com/Shougo/context_filetype.vim")
(license license:expat)))) ; ??? check again (license license:expat)))) ; ??? check again
;; The 2.2 release was in 2015, no new releases planned.
(define-public vim-fugitive (define-public vim-fugitive
(let ((commit "de6c05720cdf74c0218218d7207f700232a5b6dc") (package
(revision "1")) (name "vim-fugitive")
(package (version "2.3")
(name "vim-fugitive") (source
(version (string-append "2.2-" revision "." (string-take commit 7))) (origin
(source (method git-fetch)
(origin (uri (git-reference
(method git-fetch) (url "https://github.com/tpope/vim-fugitive.git")
(uri (git-reference (commit (string-append "v" version))))
(url "https://github.com/tpope/vim-fugitive.git") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (string-append name "-" version "-checkout")) (base32
(sha256 "17s94a8g5z0lrs7yy4nyqyvp9ykys5ws2ar3m3c0bjsn0iazd7m3"))))
(base32 (build-system gnu-build-system)
"0zg9vv7hirnx45vc2mwgg0xijmwwz55bssyd6cpdz71wbhrcpxxb")))) (arguments
(build-system gnu-build-system) '(#:tests? #f
(arguments #:phases
'(#:tests? #f (modify-phases %standard-phases
#:phases (delete 'configure)
(modify-phases %standard-phases (delete 'build)
(delete 'configure) (replace 'install
(delete 'build) (lambda* (#:key outputs #:allow-other-keys)
(replace 'install (let* ((out (assoc-ref outputs "out"))
(lambda* (#:key outputs #:allow-other-keys) (vimfiles (string-append out "/share/vim/vimfiles"))
(let* ((out (assoc-ref outputs "out")) (doc (string-append vimfiles "/doc"))
(vimfiles (string-append out "/share/vim/vimfiles")) (plugin (string-append vimfiles "/plugin")))
(doc (string-append vimfiles "/doc")) (copy-recursively "doc" doc)
(plugin (string-append vimfiles "/plugin"))) (copy-recursively "plugin" plugin)
(copy-recursively "doc" doc) #t))))))
(copy-recursively "plugin" plugin) (home-page "https://github.com/tpope/vim-fugitive")
#t)))))) (synopsis "Vim plugin to work with Git")
(home-page "https://github.com/tpope/vim-fugitive") (description "Vim-fugitive is a wrapper for Vim that complements the
(synopsis "Vim plugin to work with Git")
(description "Vim-fugitive is a wrapper for Vim that complements the
command window, where you can stage and review your changes before the next command window, where you can stage and review your changes before the next
commit or run any Git arbitrary command.") commit or run any Git arbitrary command.")
(license license:vim)))) ; distributed under the same license as vim (license license:vim))) ; distributed under the same license as vim
(define-public vim-airline (define-public vim-airline
(package (package