mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 19:05:10 -05:00
gnu: emacs-yasnippet: Update to 0.14.0.
* gnu/packages/emacs-xyz.scm (emacs-yasnippet): Update to 0.14.0.
This commit is contained in:
parent
0d4b40593b
commit
da355a67a0
1 changed files with 27 additions and 28 deletions
|
@ -8574,24 +8574,24 @@ (define-public emacs-pretty-mode
|
||||||
(define-public emacs-yasnippet
|
(define-public emacs-yasnippet
|
||||||
(package
|
(package
|
||||||
(name "emacs-yasnippet")
|
(name "emacs-yasnippet")
|
||||||
(version "0.13.0")
|
(version "0.14.0")
|
||||||
(source (origin
|
(source
|
||||||
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/joaotavora/yasnippet.git")
|
(url "https://github.com/joaotavora/yasnippet.git")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0via9dzw8m5lzymg1h78xkwjssh39zr3g6ccyamlf1rjzjsyxknv"))
|
||||||
"0fkkplycrw8f8r30hjjxl1wm7p2irq2ipzzc1g7cc52abaal796p"))
|
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; YASnippet expects a "snippets" subdirectory in the same
|
;; YASnippet expects a "snippets" subdirectory in the same
|
||||||
;; directory as yasnippet.el, but we don't install it
|
;; directory as yasnippet.el, but we don't install it because it's
|
||||||
;; because it's a git submodule pointing to an external
|
;; a git submodule pointing to an external repository. Adjust
|
||||||
;; repository. Adjust `yas-snippet-dirs' to prevent
|
;; `yas-snippet-dirs' to prevent warnings about a missing
|
||||||
;; warnings about a missing directory.
|
;; directory.
|
||||||
(substitute* "yasnippet.el"
|
(substitute* "yasnippet.el"
|
||||||
(("^ +'yas-installed-snippets-dir\\)\\)\n")
|
(("^ +'yas-installed-snippets-dir\\)\\)\n")
|
||||||
"))\n"))
|
"))\n"))
|
||||||
|
@ -8602,7 +8602,7 @@ (define-public emacs-yasnippet
|
||||||
#:test-command '("emacs" "--batch"
|
#:test-command '("emacs" "--batch"
|
||||||
"-l" "yasnippet-tests.el"
|
"-l" "yasnippet-tests.el"
|
||||||
"-f" "ert-run-tests-batch-and-exit")
|
"-f" "ert-run-tests-batch-and-exit")
|
||||||
;; FIXME: one failing test
|
;; FIXME: one failing test.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'check 'make-tests-writable
|
(add-before 'check 'make-tests-writable
|
||||||
|
@ -8612,11 +8612,10 @@ (define-public emacs-yasnippet
|
||||||
(add-before 'check 'delete-rebinding-test
|
(add-before 'check 'delete-rebinding-test
|
||||||
(lambda _
|
(lambda _
|
||||||
(emacs-batch-edit-file "yasnippet-tests.el"
|
(emacs-batch-edit-file "yasnippet-tests.el"
|
||||||
`(progn (progn (goto-char (point-min))
|
`(progn (goto-char (point-min))
|
||||||
(re-search-forward
|
(re-search-forward "ert-deftest test-rebindings")
|
||||||
"ert-deftest test-rebindings")
|
|
||||||
(beginning-of-line)
|
(beginning-of-line)
|
||||||
(kill-sexp))
|
(kill-sexp)
|
||||||
(basic-save-buffer)))
|
(basic-save-buffer)))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://github.com/joaotavora/yasnippet")
|
(home-page "https://github.com/joaotavora/yasnippet")
|
||||||
|
|
Loading…
Reference in a new issue