Subject: [PATCH] gnu: Add emacs-notmuch-addr.

From: Liam Hupfer <[email-masked]>
Date: Sun, 23 Feb 2025 12:55:37 -0600

* gnu/packages/emacs-xyz.scm (emacs-notmuch-addr): New variable.

Change-Id: I99fffb1d5e442b667d1fbf14bcb532923395cf63
---
 gnu/packages/emacs-xyz.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e6bc0bba1d..ea50710227 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -147,7 +147,7 @@
 ;;; Copyright © 2024 Artyom V. Poptsov <[email-masked]>
 ;;; Copyright © 2024 Spencer King <[email-masked]>
 ;;; Copyright © 2024 emma thompson <[email-masked]>
-;;; Copyright © 2024 Liam Hupfer <[email-masked]>
+;;; Copyright © 2024-2025 Liam Hupfer <[email-masked]>
 ;;; Copyright © 2024 aurtzy <[email-masked]>
 ;;; Copyright © 2024 Olivier Rojon <[email-masked]>
 ;;; Copyright © 2024 Divya Ranjan Pattanaik <[email-masked]>
@@ -33581,6 +33581,29 @@ (define-public emacs-helm-notmuch
 real search.")
     (license license:gpl3+)))
 
+(define-public emacs-notmuch-addr
+  (package
+    (name "emacs-notmuch-addr")
+    (version "1.1.0")
+    (home-page "https://github.com/tarsius/notmuch-addr")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit "7dde87a44b6576eb736cb6a3b69df6b9946c5ecc")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1xr78yw679swbl1bcwhk5k6qj1l9zr9nyl34ry2bpdryi370zkkp"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-compat emacs-notmuch))
+    (synopsis "Improved address completion for Notmuch")
+    (description
+     "A simple alternative to @code{notmuch-address}.  It gives up on
+persistent caching, external scripts, and backward compatibility.  It uses the
+improved completion API offered by Emacs 27.1 and later.")
+    (license license:gpl3+)))
+
 (define-public emacs-notmuch-indicator
   (package
     (name "emacs-notmuch-indicator")

base-commit: 6cd8c5849666af658c4b2e3bd4436e1a77691e41
-- 
2.48.1