Subject: [bug#72963] [PATCH go-team v2 04/22] gnu: Add go-github-com-charmbracelet-x-ansi.

From: Herman Rimm <[email-masked]>
Date: Tue, 3 Dec 2024 14:14:49 +0100

* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-ansi): Add
variable.
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4f824ab935..c371519ae8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1556,6 +1556,32 @@ (define-public go-github-com-charlievieth-fastwalk
 tools.")
     (license license:expat)))
 
+(define-public go-github-com-charmbracelet-x-ansi
+  (package
+    (name "go-github-com-charmbracelet-x-ansi")
+    (version "0.1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charmbracelet/x")
+             (commit (string-append "ansi/v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1j33791lkz4jzvm220dg82wr79gxncfflpqrlz34vhm7215fwbx0"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/charmbracelet/x/ansi"
+           #:unpack-path "github.com/charmbracelet/x"))
+    (propagated-inputs (list go-github-com-rivo-uniseg))
+    (home-page "https://github.com/charmbracelet/x")
+    (synopsis "Common ANSI escape sequences based on ECMA-48")
+    (description
+     "Package ansi defines common ANSI escape sequences based on the
+ECMA-48 specs.")
+    (license license:expat)))
+
 (define-public go-github-com-cheggaaa-pb
   (package
     (name "go-github-com-cheggaaa-pb")
-- 
2.45.2