mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: emacs-racer: Update to 1e63e98.
* gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98. [arguments]<#:phases>: Remove FIX-MAKEFILE and FIX-FAILING-TESTS phases. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
4d374b23ec
commit
9726745eb0
1 changed files with 28 additions and 43 deletions
|
@ -22487,39 +22487,24 @@ (define-public emacs-adoc-mode
|
|||
(license license:gpl2+)))
|
||||
|
||||
(define-public emacs-racer
|
||||
(let ((commit "1e63e98626737ea9b662d4a9b1ffd6842b1c648c")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "emacs-racer")
|
||||
(version "1.2")
|
||||
(version (git-version "1.2" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
(url "https://github.com/racer-rust/emacs-racer")
|
||||
(commit version)))
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0xj5iki10cg8j8vvqjlw6lfx97k3agwirhchcjnzbnkry48x9qi6"))))
|
||||
(base32 "12a429lajk09qp1jxgig54p8z6wndfgr4jwdmgkc9s2df9sw02d3"))))
|
||||
(arguments
|
||||
`(#:tests? #t
|
||||
#:test-command '("make" "test")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'fix-makefile
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("\\$\\{CASK\\} exec ") ""))
|
||||
#t))
|
||||
;; Two tests are failing with Emacs 27, as reported here:
|
||||
;; <https://github.com/racer-rust/emacs-racer/issues/136>. Disable
|
||||
;; them.
|
||||
(add-before 'check 'fix-failing-tests
|
||||
(lambda _
|
||||
(substitute* "test/racer-test.el"
|
||||
(("`Write`") "Write")
|
||||
(("^\\\\\\[`str\\]:.*") "")
|
||||
((" \\[`str`\\]") " str"))
|
||||
#t)))))
|
||||
#:test-command '("ert-runner")))
|
||||
(native-inputs
|
||||
(list emacs-ert-runner emacs-undercover))
|
||||
(propagated-inputs
|
||||
|
@ -22532,7 +22517,7 @@ (define-public emacs-racer
|
|||
completion of variables, functions and modules. It can also jump to
|
||||
definition of functions and types, and show a help buffer based on the
|
||||
docstring of the thing at point.")
|
||||
(license license:expat)))
|
||||
(license license:expat))))
|
||||
|
||||
(define-public emacs-rust-mode
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue