gnu: emacs-find-file-in-project: Update to 5.7.7.

* gnu/packages/emacs-xyz.scm (emacs-find-file-in-project): Update to 5.7.7.
[arguments]: Modify tests to use ert.
This commit is contained in:
Brett Gilio 2019-12-15 14:58:18 -06:00
parent 317cc18180
commit 5487ddac22
No known key found for this signature in database
GPG key ID: 672243C4A03F0EEE

View file

@ -6482,7 +6482,7 @@ (define-public emacs-mocker
(define-public emacs-find-file-in-project
(package
(name "emacs-find-file-in-project")
(version "5.4.7")
(version "5.7.7")
(source (origin
(method git-fetch)
(uri (git-reference
@ -6491,19 +6491,13 @@ (define-public emacs-find-file-in-project
(file-name (git-file-name name version))
(sha256
(base32
"1sdnyqv69mipbgs9yax88m9b6crsa59rjhwrih197pifl4089awr"))))
"1skjbh7m0cck2rwmgzrrds51gipqf1jqghyfx15drc1n6kwivx3h"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'set-shell
;; Otherwise Emacs shell-file-name is set to "/bin/sh", which doesn't
;; work.
(lambda _
(setenv "SHELL" (which "sh"))
#t)))
#:tests? #t
#:test-command '("./tests/test.sh")))
`(#:tests? #t
#:test-command '("ert-runner" "tests")))
(native-inputs
`(("ert-runner" ,emacs-ert-runner)))
(home-page "https://github.com/technomancy/find-file-in-project")
(synopsis "File/directory finder for Emacs")
(description "@code{find-file-in-project} allows to find files or