Subject: bug#56883: closed (Re: [bug#56883] [PATCH] gnu: Add emacs-consult-bibtex.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 25 Aug 2022 10:29:03 +0000

Your bug report

#56883: [PATCH] gnu: Add emacs-consult-bibtex.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56883: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56883
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#56883] [PATCH] gnu: Add emacs-consult-bibtex.
From: Nicolas Goaziou <[email-masked]>
To: Nicolas Graves via Guix-patches via <[email-masked]>
Cc: [email-masked], Nicolas Graves <[email-masked]>
Date: Thu, 25 Aug 2022 12:28:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Nicolas Graves via Guix-patches via <[email-masked]> 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,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-consult-bibtex.
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Cc: Nicolas Graves <[email-masked]>
Date: Tue, 2 Aug 2022 14:00:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-consult-bibtex): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

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")
-- 
2.37.1