guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/15: gnu: Add go-github-com-charmbracelet-x-ansi.


From: guix-commits
Subject: 06/15: gnu: Add go-github-com-charmbracelet-x-ansi.
Date: Sun, 1 Dec 2024 02:28:17 -0500 (EST)

avp pushed a commit to branch master
in repository guix.

commit 222f672ca3e798669b1d739bd35bff7cf028bc29
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Thu Nov 28 23:49:00 2024 +0000

    gnu: Add go-github-com-charmbracelet-x-ansi.
    
    * gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-ansi): New 
variable.
    
    Change-Id: I1451ae9953bc87475413b83bb636a2df14ddc70c
    Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d00ce6c550..729d4020b9 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1582,6 +1582,36 @@ tools.")
      (modify-inputs (package-propagated-inputs go-github-com-cheggaaa-pb)
        (append go-github-com-vividcortex-ewma)))))
 
+(define-public go-github-com-charmbracelet-x-ansi
+  (package
+    (name "go-github-com-charmbracelet-x-ansi")
+    (version "0.5.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charmbracelet/x";)
+             (commit (go-version->git-ref version
+                                          #:subdir "ansi"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "016s67690dr3w3an6m24q6f4vrmwpk0qd4akvvh1dzpfyf4khxd4"))))
+    (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-lucasb-eyer-go-colorful
+           go-github-com-rivo-uniseg))
+    (home-page "https://github.com/charmbracelet/x";)
+    (synopsis "ANSI escape sequence parser and definitions")
+    (description
+     "@code{ansi} defines common ANSI escape sequences based on the
+@url{https://ecma-international.org/publications-and-standards/standards/ecma-48/,
+ECMA-48} specs.")
+    (license license:expat)))
+
 (define-public go-github-com-chzyer-logex
   (package
     (name "go-github-com-chzyer-logex")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]