summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-08-02 14:00:33 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-08-25 12:24:23 +0200
commit57fad8f60cdfd968481eec35dcf24194d4a59b69 (patch)
treedfe26280f142c99d41d1925eccc13e2ab36c018f
parente92c483be8ede1b4ff78743b52bb3ef80d6c3e20 (diff)
gnu: Add emacs-consult-bibtex.
* gnu/packages/emacs-xyz.scm (emacs-consult-bibtex): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/emacs-xyz.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f01af98c7c..fd2351b9fb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9086,6 +9086,28 @@ Emacs completion function completing-read, which allows quickly selecting from a
list of candidates.")
(license license:gpl3+)))
+(define-public emacs-consult-bibtex
+ ;; XXX: Upstream contains a single commit, which matches the version below.
+ (let ((commit "2f870d6eefb54a53216d90a82cff0ff97ba54725"))
+ (package
+ (name "emacs-consult-bibtex")
+ (version "0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mohkale/consult-bibtex")
+ (commit commit)))
+ (sha256
+ (base32
+ "0jxjvpg3j8zk77sfhyy27fd1zbj2zz7xayavan3hhj4853q92kwq"))))
+ (build-system emacs-build-system)
+ (inputs (list emacs-consult emacs-embark emacs-org-roam-bibtex))
+ (home-page "https://github.com/mohkale/consult-bibtex")
+ (synopsis "Consulting-read interface for BibTeX completion")
+ (description "This package provides a read interface for BibTeX
+completion using Consult.")
+ (license license:gpl3))))
+
(define-public emacs-consult-dir
(package
(name "emacs-consult-dir")