Subject: [PATCH 2/2] gnu: senpai: Update to 0.3.0.

From: Mazin AlHaddad <[email-masked]>
Date: Sat, 2 Nov 2024 10:40:29 +0300

From: Mazin Alhaddad <[email-masked]>

* gnu/packages/messaging.scm (senpai): Update to 0.3.0.
[phases]: Switch to `make doc` in build-doc phase.
[native-inputs]: Add `which`.

Change-Id: I40d5cae27eb716da1ed6d9dddc1e19f33ae683b6
---
 gnu/packages/messaging.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c482cd469e..72b68d9495 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3595,7 +3595,7 @@ (define-public pn
 (define-public senpai
   (package
     (name "senpai")
-    (version "0.2.0")
+    (version "0.3.0")
     (source
      (origin
        (method git-fetch)
@@ -3605,7 +3605,7 @@ (define-public senpai
          (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1qw955i5f3jr42h4afr23v7wq616bcsyq68if75qdw8j1yibnpmb"))))
+        (base32 "0l43qfjr0ggpv1hkyyfxp3j6acrbbrl8n6qxlh91gyb2jan03683"))))
     (build-system go-build-system)
     (arguments
       (list #:import-path "git.sr.ht/~taiite/senpai/cmd/senpai"
@@ -3615,7 +3615,7 @@ (define-public senpai
             #~(modify-phases %standard-phases
                 (add-after 'build 'build-doc
                   (lambda* (#:key unpack-path #:allow-other-keys)
-                    (invoke "make" "doc/senpai.1" "doc/senpai.5"
+                    (invoke "make" "doc"
                             "-C" (string-append "src/" unpack-path))))
                 (add-after 'install 'install-doc
                   (lambda* (#:key unpack-path #:allow-other-keys)
@@ -3632,12 +3632,13 @@ (define-public senpai
     (native-inputs (list go-git-sr-ht-emersion-go-scfg
                          go-github-com-delthas-go-libnp
                          go-github-com-delthas-go-localeinfo
-                         go-github-com-gdamore-tcell-v2
+                         go-github-com-delthas-tcell-v2
                          go-github-com-mattn-go-runewidth
                          go-golang-org-x-net
                          go-golang-org-x-term
                          go-golang-org-x-time
                          go-mvdan-cc-xurls
+                         which
                          scdoc))
     (home-page "https://sr.ht/~delthas/senpai")
     (synopsis "Modern terminal IRC client")
-- 
2.46.0