Message ID | 20220802120033.8127-1-ngraves@ngraves.fr |
---|---|
State | Accepted |
Headers | show |
Series | [bug#56883] gnu: Add emacs-consult-bibtex. | expand |
Hello, Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes: > * gnu/packages/emacs-xyz.scm (emacs-consult-bibtex): New variable. Applied with the changes below. Thank you. > +(define-public emacs-consult-bibtex > + (let ((commit "2f870d6eefb54a53216d90a82cff0ff97ba54725") > + (revision "0")) > + (package > + (name "emacs-consult-bibtex") > + (version (git-version "0" revision commit)) The version is "0.1" and upstream's single commit matches it so I removed the `git-version' part. > + (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) > + (arguments `(#:emacs ,build-emacs)) I removed this fancy entry. > + (inputs (list emacs-org-roam-bibtex emacs-consult emacs-embark)) I listed inputs alphabetically. > + (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)))) License is actually gpl3+. I fixed it in a subsequent commit. Regards,
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a2d207574e..df0b77ea71 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9085,6 +9085,29 @@ (define-public emacs-consult list of candidates.") (license license:gpl3+))) +(define-public emacs-consult-bibtex + (let ((commit "2f870d6eefb54a53216d90a82cff0ff97ba54725") + (revision "0")) + (package + (name "emacs-consult-bibtex") + (version (git-version "0" revision commit)) + (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) + (arguments `(#:emacs ,build-emacs)) + (inputs (list emacs-org-roam-bibtex emacs-consult emacs-embark)) + (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")