sharlatan pushed a commit to branch go-team
in repository guix.

commit 33d78b5e627483e3a673872e3e6a7a6f99b40800
Author: Daniel Ziltener <dzilte...@lyrion.ch>
AuthorDate: Wed Apr 9 02:14:58 2025 +0200

    gnu: senpai: Update to 0.4.0.
    
    A note from upstream: This project has migrated to sr.ht/~delthas.
    
    gnu/packages/messaging.scm (senpai): Update to 0.4.0.
    [arguments]: Adjust <import-path> and <unpack-path> to follow updated
    go.mod.
    [native-inputs]: Remove go-github-com-delthas-tcell-v2 and
    go-github-com-mattn-go-runewidth; add go-git-sr-ht-rockorager-vaxis,
    go-github-com-containerd-console, go-github-com-disintegration-imaging,
    go-github-com-godbus-dbus-v5, go-github-com-rivo-uniseg, and
    go-github-com-mattn-go-runewidth.
    
    * gnu/packages/golang-xyz.scm (go-github-com-delthas-tcell-v2): Delete 
variable.
    
    Change-Id: I7d832366ba3e69655eb290f87d164a4f0ff5f11e
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
    
    gnu: Remove go-github-com-delthas-tcell-v2.
---
 gnu/packages/golang-xyz.scm | 21 ---------------------
 gnu/packages/messaging.scm  | 23 ++++++++++++++---------
 2 files changed, 14 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e207fa7097..32c95ac4b4 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5990,27 +5990,6 @@ also favors portability, and includes support for all 
POSIX systems.")
      (modify-inputs (package-inputs go-github-com-gdamore-tcell)
        (prepend go-golang-org-x-term go-golang-org-x-sys)))))
 
-(define-public go-github-com-delthas-tcell-v2
-  ;; TODO This variant allows upgrading senpai, and looks to be unnecessary in
-  ;; the next release of senpai
-  (hidden-package
-   (package
-     (inherit go-github-com-gdamore-tcell)
-     (name "go-github-com-delthas-tcell")
-     (version "2.4.1")
-     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-              (url "https://github.com/delthas/tcell";)
-              (commit "837a7d7")))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32 "05zr73q38dawl7hr6g7v4pkyv6mqr0zp2l9qsgn7xmf1p9q4bn7j"))))
-     (propagated-inputs
-      (modify-inputs (package-inputs go-github-com-gdamore-tcell)
-        (prepend go-golang-org-x-term go-golang-org-x-sys))))))
-
 (define-public go-github-com-gdey-errors
   (package
     (name "go-github-com-gdey-errors")
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 898d68bc32..5061494222 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3691,7 +3691,7 @@ a text snippet), using @code{libphonenumber}.")
 (define-public senpai
   (package
     (name "senpai")
-    (version "0.3.0")
+    (version "0.4.0")
     (source
      (origin
        (method git-fetch)
@@ -3701,24 +3701,25 @@ a text snippet), using @code{libphonenumber}.")
          (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0l43qfjr0ggpv1hkyyfxp3j6acrbbrl8n6qxlh91gyb2jan03683"))))
+        (base32 "0hzrkzsi7c3nrarrd09b8cs31r6vdnmjcw3clj7mjm4cp7xp4dfw"))))
     (build-system go-build-system)
     (arguments
-     (list #:import-path "git.sr.ht/~taiite/senpai/cmd/senpai"
-           #:unpack-path "git.sr.ht/~taiite/senpai"
+     (list #:import-path "git.sr.ht/~delthas/senpai/cmd/senpai"
+           #:unpack-path "git.sr.ht/~delthas/senpai"
            #:install-source? #f
            ;; Step away from cmd/senpai to test the whole project.
            #:test-subdirs #~(list "../../...")
            #:phases
-           #~(modify-phases %standard-phases
+           #~(modify-phases
+                 %standard-phases
                (add-after 'build 'build-doc
                  (lambda* (#:key unpack-path #:allow-other-keys)
                    (invoke "make" "doc"
                            "-C" (string-append "src/" unpack-path))))
                (add-after 'install 'install-doc
                  (lambda* (#:key unpack-path #:allow-other-keys)
-                   (let ((man1 (string-append #$output "/share/man/man1"))
-                         (man5 (string-append #$output "/share/man/man5")))
+                   (let ((man1 (string-append #$output "/share/man1"))
+                         (man5 (string-append #$output "/share/man5")))
                      (mkdir-p man1)
                      (mkdir-p man5)
                      (install-file
@@ -3729,13 +3730,17 @@ a text snippet), using @code{libphonenumber}.")
                       man5)))))))
     (native-inputs
      (list go-codeberg-org-emersion-go-scfg
+           go-git-sr-ht-rockorager-vaxis
+           go-github-com-containerd-console
            go-github-com-delthas-go-libnp
            go-github-com-delthas-go-localeinfo
-           go-github-com-delthas-tcell-v2 ; remove in the next release
-           go-github-com-mattn-go-runewidth
+           go-github-com-disintegration-imaging
+           go-github-com-godbus-dbus-v5
+           go-github-com-rivo-uniseg
            go-golang-org-x-net
            go-golang-org-x-time
            go-mvdan-cc-xurls-v2
+           go-github-com-mattn-go-runewidth
            scdoc
            which))
     (home-page "https://sr.ht/~delthas/senpai";)

Reply via email to