Subject: [PATCH] gnu: Add emacs-consult-denote.

From: Wilko Meyer <[email-masked]>
Date: Sat, 20 Jul 2024 23:18:31 +0200

* gnu/packages/emacs-xyz.scm (emacs-consult-denote): New variable.

Change-Id: I9c65cfb3b9d3a3906a8492b9aa5d1dab04f39869
---
Hi Guix,

This patch adds consult-denote[0]. The package builds successfully on
my machine and guix lint passes as well for it. 

Cheers!

[0]: https://github.com/protesilaos/consult-denote

 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 75be8999ae..b5f0c3041f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12436,6 +12436,27 @@ (define-public emacs-consult-bibtex
 completion using Consult.")
       (license license:gpl3+))))
 
+(define-public emacs-consult-denote
+  (package
+    (name "emacs-consult-denote")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/consult-denote-"
+                           version ".tar"))
+       (sha256
+        (base32 "0yhf9fifas87rs4wdapszbpx1xqyq44izjq7vzpyvdlh5a5fhhx1"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-denote emacs-consult))
+    (home-page "https://github.com/protesilaos/consult-denote")
+    (synopsis "Consult interface for denote")
+    (description
+     "Consult-denote provides the commands @code{consult-denote-find} and
+@{consult-denote-grep} to interact with @code{emacs-denote} using a
+completing-read interface.")
+    (license license:gpl3+)))
+
 (define-public emacs-consult-dir
   (package
     (name "emacs-consult-dir")

base-commit: 1fa4d658d808202f98003d1488f8e44daee370a9
-- 
2.45.1