gnu: vifm: Update to 0.13.

* gnu/packages/vim.scm (vifm): Update to 0.13.
[arguments]: Adjust substitutions in custom 'patch-test-shebangs phase.
This commit is contained in:
Efraim Flashner 2023-05-04 20:11:43 +03:00
parent 00051e8839
commit df18eac9ab
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -832,7 +832,7 @@ (define-public eovim
(define-public vifm
(package
(name "vifm")
(version "0.12.1")
(version "0.13")
(source
(origin
(method url-fetch)
@ -843,7 +843,7 @@ (define-public vifm
"vifm-" version ".tar.bz2")))
(sha256
(base32
"122ncp319xisxjxcy33bshjib6905bb0aaz0xjdfkkycplz83qlg"))))
"0xahsjdimpqv75jlfnbh0d2mxn21s53xrv37x6npch3rk9s974hd"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--disable-build-timestamp")
@ -851,14 +851,14 @@ (define-public vifm
(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'patch-test-shebangs
(lambda _
(substitute* (cons* "src/background.c"
(substitute* (cons* "data/vim/plugin/vifm.vim"
"src/cfg/config.c"
(find-files "tests" "\\.c$"))
(("/bin/sh") (which "sh"))
(("/bin/bash") (which "bash")))
;; This test segfaults
(substitute* "tests/Makefile"
(("misc") ""))))
((" menus misc") ""))))
(add-after 'install 'install-vim-plugin-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))