unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 72963@debbugs.gnu.org
Subject: [bug#72963] [PATCH go-team v2 20/22] gnu: Add go-github-com-muesli-ansi.
Date: Tue,  3 Dec 2024 14:15:05 +0100	[thread overview]
Message-ID: <0da9bb9e92dfce9e0f073a3bbbb2e88e1b0e089e.1733231503.git.herman@rimm.ee> (raw)
In-Reply-To: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee>

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3c6cea7219..5796c7d83c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5763,6 +5763,95 @@ (define-public go-github-com-bmatcuk-doublestar-v4
      (list
       #:import-path "github.com/bmatcuk/doublestar/v4"))))
 
+(define-public go-github-com-muesli-ansi
+  (package
+    (name "go-github-com-muesli-ansi")
+    (version "0.0.0-20230316100256-276c6243b2f6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/muesli/ansi")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1jr8kgn3vb72jmf4a8n52g876mfpbvk3310p8gsg7jkn338af4m9"))))
+    (build-system go-build-system)
+    (arguments (list #:import-path "github.com/muesli/ansi"))
+    (propagated-inputs (list go-github-com-mattn-go-runewidth))
+    (home-page "https://github.com/muesli/ansi")
+    (synopsis "Raw ANSI sequence helpers")
+    (description "This package provides raw ANSI sequence helpers.")
+    (license license:expat)))
+
+(define-public go-github-com-muesli-reflow
+  (package
+    (name "go-github-com-muesli-reflow")
+    (version "0.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/muesli/reflow")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name "go-github-com-muesli-reflow" version))
+       (sha256
+        (base32 "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/muesli/reflow"
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; XXX: Workaround for go-build-system's lack of Go modules
+          ;; support.
+          (delete 'build)
+          (replace 'check
+            (lambda* (#:key tests? import-path #:allow-other-keys)
+              (when tests?
+                (with-directory-excursion (string-append "src/" import-path)
+                  (invoke "go" "test" "-v" "./..."))))))))
+    (propagated-inputs
+     (list go-github-com-mattn-go-runewidth))
+    (home-page "https://github.com/muesli/reflow/")
+    (synopsis "Collection of methods helping to transform blocks of text")
+    (description
+     "This package provides a collection of ANSI-aware methods and io.Writers
+helping you to transform blocks of text.")
+    (license license:expat)))
+
+(define-public go-github-com-muesli-termenv
+  (package
+    (name "go-github-com-muesli-termenv")
+    (version "0.15.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/muesli/termenv")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "19yhli6k79aqpra4djp0cl4q76mqxbc1f7in20y0dzhnjb7yz42p"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/muesli/termenv"))
+    (propagated-inputs
+     (list go-github-com-aymanbagabas-go-osc52-v2
+           go-github-com-lucasb-eyer-go-colorful
+           go-github-com-mattn-go-isatty
+           go-github-com-mattn-go-runewidth
+           go-golang-org-x-sys))
+    (home-page "https://github.com/muesli/termenv/")
+    (synopsis "Advanced styling options on the terminal")
+    (description "termenv lets you safely use advanced styling options on the
+terminal.  It gathers information about the terminal environment in terms of
+its ANSI and color support and offers you convenient methods to colorize and
+style your output, without you having to deal with all kinds of weird ANSI
+escape sequences and color conversions.")
+    (license license:expat)))
+
 (define-public go-github-com-olekukonko-tablewriter
   (package
     (name "go-github-com-olekukonko-tablewriter")
-- 
2.45.2





  parent reply	other threads:[~2024-12-03 13:18 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 11:55 [bug#72963] [PATCH go-team 01/30] gnu: Add go-github-com-buildkite-shellwords Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 02/30] gnu: Add go-github-com-sebdah-goldie-v2 Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 03/30] gnu: Add go-github-com-atotto-clipboard Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 04/30] gnu: Add go-github-com-creack-pty-v2 Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 05/30] gnu: Add go-github-com-charmbracelet-x-ansi Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 06/30] gnu: Add go-github-com-aymanbagabas-go-udiff Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 07/30] gnu: Add go-github-com-charmbracelet-lipgloss Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 08/30] gnu: Add go-github-com-shurcool-graphql Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 09/30] gnu: Add go-github-com-shurcool-githubv4 Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 10/30] gnu: Add go-github-com-charmbracelet-log Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 11/30] gnu: Add go-github-com-vito-midterm Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 12/30] gnu: Add go-go-abhg-dev-requiredfield Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 13/30] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-recorder Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 14/30] gnu: Add go-github-com-kylelemons-godebug-pretty Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 15/30] gnu: Add go-github-com-sahilm-fuzzy Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 16/30] gnu: Add go-github-com-charmbracelet-bubbles Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 17/30] gnu: Add go-inputs procedure Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 18/30] gnu: Add go-github-com-erikgeiser-coninput Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 19/30] gnu: Add go-github-com-charmbracelet-x-windows Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 20/30] gnu: Add go-github-com-charmbracelet-x-input Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 21/30] gnu: Add go-github-com-charmbracelet-x-term Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 22/30] gnu: Add go-golang-org-x-text-transform Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 23/30] gnu: Add go-github-com-mattn-go-localereader Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 24/30] gnu: Add go-github-com-rogpeppe-go-internal-internal-misspell Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 25/30] gnu: Add go-github-com-rogpeppe-go-internal-testscript Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 26/30] gnu: Add go-github-com-rogpeppe-go-internal-diff Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 27/30] gnu: Add go-github-com-muesli-ansi Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 28/30] gnu: Add go-github-com-muesli-cancelreader Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 29/30] gnu: go-github-com-charmbracelet-bubbletea: Update to 0.26.6 Herman Rimm via Guix-patches via
2024-09-02 12:18   ` [bug#72963] [PATCH go-team 30/30] gnu: Add git-spice Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 01/22] gnu: Add go-github-com-buildkite-shellwords Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 02/22] gnu: Add go-github-com-sebdah-goldie-v2 Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 03/22] gnu: Add go-github-com-creack-pty-v2 Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 04/22] gnu: Add go-github-com-charmbracelet-x-ansi Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 05/22] gnu: Add go-github-com-charmbracelet-lipgloss Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 06/22] gnu: Add go-github-com-shurcool-graphql Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 07/22] gnu: Add go-github-com-shurcool-githubv4 Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 08/22] gnu: Add go-github-com-charmbracelet-log Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 09/22] gnu: Add go-github-com-vito-midterm Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 10/22] gnu: Add go-go-abhg-dev-requiredfield Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 11/22] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-recorder Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 12/22] gnu: Add go-github-com-charmbracelet-bubbles Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 13/22] gnu: Add go-inputs procedure Herman Rimm via Guix-patches via
2024-12-03 13:14   ` [bug#72963] [PATCH go-team v2 14/22] gnu: Add go-github-com-erikgeiser-coninput Herman Rimm via Guix-patches via
2024-12-03 13:15   ` [bug#72963] [PATCH go-team v2 15/22] gnu: Add go-github-com-charmbracelet-x-windows Herman Rimm via Guix-patches via
2024-12-03 13:15   ` [bug#72963] [PATCH go-team v2 16/22] gnu: Add go-github-com-charmbracelet-x-input Herman Rimm via Guix-patches via
2024-12-03 13:15   ` [bug#72963] [PATCH go-team v2 17/22] gnu: Add go-github-com-charmbracelet-x-term Herman Rimm via Guix-patches via
2024-12-03 13:15   ` [bug#72963] [PATCH go-team v2 18/22] gnu: Add go-github-com-mattn-go-localereader Herman Rimm via Guix-patches via
2024-12-03 13:15   ` [bug#72963] [PATCH go-team v2 19/22] gnu: Add go-github-com-rogpeppe-go-internal-testscript Herman Rimm via Guix-patches via
2024-12-03 13:15   ` Herman Rimm via Guix-patches via [this message]
2024-12-03 13:15   ` [bug#72963] [PATCH go-team v2 21/22] gnu: Add go-github-com-muesli-cancelreader Herman Rimm via Guix-patches via
2024-12-03 13:15   ` [bug#72963] [PATCH go-team v2 22/22] gnu: Add git-spice Herman Rimm via Guix-patches via
2024-12-06  0:54 ` [bug#72963] [PATCH go-team 01/30] gnu: Add go-github-com-buildkite-shellwords Sharlatan Hellseher
2024-12-06 21:25 ` bug#72963: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0da9bb9e92dfce9e0f073a3bbbb2e88e1b0e089e.1733231503.git.herman@rimm.ee \
    --to=guix-patches@gnu.org \
    --cc=72963@debbugs.gnu.org \
    --cc=herman@rimm.ee \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).