gnu: Add emacs-rainbow-blocks.

* gnu/packages/emacs.scm (emacs-rainbow-blocks): New public variable.
This commit is contained in:
Oleg Pykhalov 2018-05-02 18:55:57 +03:00
parent f8a88f223e
commit d7403c126c
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569
1 changed files with 23 additions and 0 deletions

View File

@ -8382,3 +8382,26 @@ functions or modules in a larger multi-file Emacs package and
facilitate running from the source tree without having to install the
code or fiddle with evil @code{load-path}.")
(license license:gpl3+))))
(define-public emacs-rainbow-blocks
(let ((commit "dd435d7bb34ff6f162a5f315df308b90b7e9f842"))
(package
(name "emacs-rainbow-blocks")
(version (git-version "1.0.0" "1" commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/istib/rainbow-blocks.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"06yfb3i7wzvqrhkb61zib9xvpb5i00s4frizkzff66im05k0n795"))))
(build-system emacs-build-system)
(home-page "https://github.com/istib/rainbow-blocks")
(synopsis "Highlight sexp blocks")
(description "Rainbow-blocks is an Emacs mode that highlights blocks
made of parentheses, brackets, and braces according to their depth. Each
successive level is highlighted in a different color. This makes it easy to
orient yourself in the code, and tell which statements are at a given level.")
(license license:gpl3+))))