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

From: Nicolas Goaziou <[email-masked]>
Date: Thu, 25 Aug 2022 12:28:03 +0200

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