3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: emacs-rainbow-delimiters: Enable tests.

* gnu/packages/emacs-xyz.scm (emacs-rainbow-delimiters): Enable tests.
[source] Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
Brian Leung 2019-09-24 09:59:00 +02:00
parent 5c1547383f
commit 61522fd967
No known key found for this signature in database
GPG key ID: 3ADC75F013D678F9

View file

@ -6184,16 +6184,21 @@ completion, interactive development and more.")
(name "emacs-rainbow-delimiters")
(version "2.1.3")
(source (origin
(method url-fetch)
(uri (string-append "https://raw.githubusercontent.com/Fanael"
"/rainbow-delimiters/" version
"/rainbow-delimiters.el"))
(file-name (string-append "rainbow-delimiters-" version ".el"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/Fanael/rainbow-delimiters.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
"0vs9pf8lqq5p5qz1770pxgw47ym4xj8axxmwamn66br59mykdhv0"))))
(build-system emacs-build-system)
(home-page "https://github.com/Fanael/rainbow-delimiters")
(arguments
`(#:tests? #t
#:test-command '("emacs" "-Q" "-batch"
"-l" "rainbow-delimiters-test.el"
"-f" "ert-run-tests-batch-and-exit")))
(synopsis "Highlight brackets according to their depth")
(description
"Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which