unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65272] [PATCH] gnu: Add emacs-notmuch-indicator.
@ 2023-08-13 15:16 Fabio Natali
  2023-09-11 21:29 ` bug#65272: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Natali @ 2023-08-13 15:16 UTC (permalink / raw)
  To: 65272; +Cc: Fabio Natali

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

Hi,

I thought of adding Protesilaos Stavrou's `emacs-notmuch-indicator' to Guix.

Hope this looks fine, cheers, Fabio.

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 0f0751e39a..bc68c341e8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30061,6 +30061,27 @@ (define-public emacs-helm-notmuch
 real search.")
     (license license:gpl3+)))
 
+(define-public emacs-notmuch-indicator
+  (package
+    (name "emacs-notmuch-indicator")
+    (version "1.0.1")
+    (home-page "https://git.sr.ht/~protesilaos/notmuch-indicator")
+    (source (origin
+	      (method url-fetch)
+	      (uri (string-append
+		    "https://elpa.gnu.org/packages/notmuch-indicator-" version
+		    ".tar"))
+	      (sha256
+	       (base32
+		"1n5k2ikk93mdwqqysf6l7gd8i6iazk8yvbqpf8xnz5zny248cc2x"))))
+    (build-system emacs-build-system)
+    (synopsis "Display a mode line indicator with @code{notmuch-count} output")
+    (description "This package renders an indicator with an email count of the
+@code{notmuch} index on the Emacs mode line. The underlying mechanism is that of
+@code{notmuch-count}, which is used to find the number of items that match the
+given search terms.")
+    (license license:gpl3+)))
+
 (define-public emacs-notmuch-maildir
   (package
     (name "emacs-notmuch-maildir")

base-commit: be6f5edd445850720dfcec2642db643b84fc0645
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65272: [PATCH] gnu: Add emacs-notmuch-indicator.
  2023-08-13 15:16 [bug#65272] [PATCH] gnu: Add emacs-notmuch-indicator Fabio Natali
@ 2023-09-11 21:29 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-09-11 21:29 UTC (permalink / raw)
  To: Fabio Natali; +Cc: 65272-done

Hi,

Fabio Natali <me@fabionatali.com> skribis:

> * gnu/packages/emacs-xyz.scm (emacs-notmuch-indicator): New variable.
> ---
>
> Hi,
>
> I thought of adding Protesilaos Stavrou's `emacs-notmuch-indicator' to Guix.
>
> Hope this looks fine, cheers, Fabio.

It does!  ‘guix lint’ reported that there were tabs, which I’ve changed
to spaces.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-11 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-13 15:16 [bug#65272] [PATCH] gnu: Add emacs-notmuch-indicator Fabio Natali
2023-09-11 21:29 ` bug#65272: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).