summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-01-06 17:49:50 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-01-06 17:50:08 +0100
commit743cebb6b038724e70e15b98c6c68858a6934a57 (patch)
treeb7b2534889df8ddb2217ed3e7902b2378790b88f
parent41a3ace54e745fb78f3df354c09668e2a551d429 (diff)
downloadpatches-743cebb6b038724e70e15b98c6c68858a6934a57.tar
patches-743cebb6b038724e70e15b98c6c68858a6934a57.tar.gz
gnu: Add emacs-helm-clojuredocs.
* gnu/packages/emacs-xyz.scm (emacs-helm-clojuredocs): New variable.
-rw-r--r--gnu/packages/emacs-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index eef7b1da55..12bf9accc1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20887,3 +20887,35 @@ It also provides original Helm commands: @command{helm-cider-spec},
(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+))))