gnu: Add emacs-helm-clojuredocs.

* gnu/packages/emacs-xyz.scm (emacs-helm-clojuredocs): New variable.
This commit is contained in:
Pierre Neidhardt 2020-01-06 17:49:50 +01:00
parent 41a3ace54e
commit 743cebb6b0
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -20887,3 +20887,35 @@ (define-public emacs-edn
(description "This is an Emacs Lisp library for reading and writing the
data format @code{edn}. See @url{https://github.com/edn-format/edn}.")
(license license:gpl3+))))
(define-public emacs-helm-clojuredocs
(let ((commit "5a7f0f2cb401be0b09e73262a1c18265ab9a3cea"))
(package
(name "emacs-helm-clojuredocs")
(version (git-version "0.3" "1" commit))
(home-page "https://github.com/mbuczko/helm-clojuredocs")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"015b8zxh91ljhqvn6z43gy08di54xcw9skw0i7frj3d7gk984qhl"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-helm" ,emacs-helm)
("emacs-edn" ,emacs-edn)))
(synopsis "Search help on clojuredocs.org with Helm")
(description "This packages provides a Helm interface to lookup Clojure
documentation on @url{https://clojuredocs.org} with Helm.
Two function are exposed:
@itemize
@item @command{helm-clojuredocs}: opens a Helm session with no initial
pattern. Searching starts with minimal 3 characters entered.
@item @command{helm-clojuredocs-at-point}: opens a Helm session with initial
pattern guessed from thing under current cursor position.
@end itemize\n")
(license license:gpl3+))))