gnu: Add emacs-elisp-refs.

* gnu/packages/emacs.scm (emacs-elisp-refs): New public variable.
This commit is contained in:
Oleg Pykhalov 2018-05-02 18:58:50 +03:00
parent b836c6500a
commit 1bd3400d8c
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569
1 changed files with 27 additions and 0 deletions

View File

@ -8634,3 +8634,30 @@ tramp.")
library adds a selection of popular loop structures as well as break and library adds a selection of popular loop structures as well as break and
continue.") continue.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-elisp-refs
(package
(name "emacs-elisp-refs")
(version "1.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/Wilfred/elisp-refs/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0fj6wphwrvbslw46w7wgdk3b4bfr312ygj3lbgr9qw63lpqw26nl"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-dash" ,emacs-dash)
("emacs-f" ,emacs-f)
("emacs-list-utils" ,emacs-list-utils)
("emacs-loop" ,emacs-loop)
("emacs-s" ,emacs-s)))
(home-page "https://github.com/Wilfred/elisp-refs")
(synopsis "Find callers of elisp functions or macros")
(description "Find references to functions, macros or variables. Unlike a
dumb text search, @code{elisp-refs} actually parses the code, so it's never
confused by comments or @code{foo-bar} matching @code{foo}.")
(license license:gpl3+)))