gnu: vim: Update to 8.0.

* gnu/packages/vim.scm (vim): Update to 8.0.
[arguments]: Update files which need /bin/sh patched.
This commit is contained in:
Efraim Flashner 2016-09-12 20:55:21 +03:00
parent 2642231b39
commit db3cc007e3
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -31,14 +31,14 @@ (define-module (gnu packages vim)
(define-public vim (define-public vim
(package (package
(name "vim") (name "vim")
(version "7.4") (version "8.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "ftp://ftp.vim.org/pub/vim/unix/vim-" (uri (string-append "ftp://ftp.vim.org/pub/vim/unix/vim-"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1pjaffap91l2rb9pjnlbrpvb3ay5yhhr3g91zabjvw1rqk9adxfh")))) "1s34rf8089klsbdx5l0iw7vjymir0kzfrx8wb30s31wygnq29axc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
@ -49,8 +49,10 @@ (define-public vim
(lambda _ (lambda _
(substitute* "runtime/tools/mve.awk" (substitute* "runtime/tools/mve.awk"
(("/usr/bin/nawk") (which "gawk"))) (("/usr/bin/nawk") (which "gawk")))
(substitute* "src/testdir/Makefile" (substitute* '("src/testdir/Makefile"
(("/bin/sh") (which "sh")))))))) "src/testdir/test_normal.vim")
(("/bin/sh") (which "sh")))
#t)))))
(inputs (inputs
`(("gawk" ,gawk) `(("gawk" ,gawk)
("inetutils" ,inetutils) ("inetutils" ,inetutils)