Subject: [PATCH 2/8] gnu: Add go-zgo-at-termtext.

From: gemmaro <[email-masked]>
Date: Fri, 30 Aug 2024 00:14:04 +0900

* gnu/packages/golang-xyz.scm (go-zgo-at-termtext): New variable.

Change-Id: I19ec0dc06dda0289cb3aaa43de025fa447da8e6c
---
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3607f09de2..ccb6dbd374 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6930,6 +6930,31 @@ (define-public go-zgo-at-runewidth
 character or string.")
     (license license:expat)))
 
+(define-public go-zgo-at-termtext
+  (package
+    (name "go-zgo-at-termtext")
+    (version "1.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/arp242/termtext")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0czhvcx6crmwfl6555l9hgl6gq21ykwr4bg2dqksc71qmv6b27hh"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "zgo.at/termtext"))
+    (propagated-inputs (list go-zgo-at-runewidth go-github-com-rivo-uniseg))
+    (home-page "https://github.com/arp242/termtext")
+    (synopsis "Deal with monospace text as interpreted by terminals")
+    (description
+     "Package @samp{termtext} deals with monospace text as interpreted by
+terminals.")
+    (license license:expat)))
+
 ;;;
 ;;; Executables:
 ;;;
-- 
2.45.2