From c2a80ba78c979d2df2434fed0b9e55a29102f5c2 Mon Sep 17 00:00:00 2001
From: Mazin Alhaddad <mazin@getstate.dev>
Date: Sat, 2 Nov 2024 10:40:29 +0300
Subject: gnu: senpai: Update to 0.3.0.

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

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 7adaa461d9..f16e61bf09 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3722,7 +3722,7 @@ a text snippet), using @code{libphonenumber}.")
 (define-public senpai
   (package
     (name "senpai")
-    (version "0.2.0")
+    (version "0.3.0")
     (source
      (origin
        (method git-fetch)
@@ -3732,7 +3732,7 @@ a text snippet), using @code{libphonenumber}.")
          (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"
@@ -3742,7 +3742,7 @@ a text snippet), using @code{libphonenumber}.")
             #~(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)
@@ -3759,12 +3759,13 @@ a text snippet), using @code{libphonenumber}.")
     (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-v2
+                         which
                          scdoc))
     (home-page "https://sr.ht/~delthas/senpai")
     (synopsis "Modern terminal IRC client")
-- 
cgit v1.2.3