[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72963] [PATCH go-team v2 20/22] gnu: Add go-github-com-muesli-ansi.
From: |
Herman Rimm |
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 |
* 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
- [bug#72963] [PATCH go-team v2 03/22] gnu: Add go-github-com-creack-pty-v2., (continued)
- [bug#72963] [PATCH go-team v2 03/22] gnu: Add go-github-com-creack-pty-v2., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 07/22] gnu: Add go-github-com-shurcool-githubv4., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 08/22] gnu: Add go-github-com-charmbracelet-log., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 11/22] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-recorder., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 15/22] gnu: Add go-github-com-charmbracelet-x-windows., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 17/22] gnu: Add go-github-com-charmbracelet-x-term., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 02/22] gnu: Add go-github-com-sebdah-goldie-v2., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 14/22] gnu: Add go-github-com-erikgeiser-coninput., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 13/22] gnu: Add go-inputs procedure., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 16/22] gnu: Add go-github-com-charmbracelet-x-input., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 20/22] gnu: Add go-github-com-muesli-ansi.,
Herman Rimm <=
- [bug#72963] [PATCH go-team v2 21/22] gnu: Add go-github-com-muesli-cancelreader., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 22/22] gnu: Add git-spice., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 09/22] gnu: Add go-github-com-vito-midterm., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 18/22] gnu: Add go-github-com-mattn-go-localereader., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 10/22] gnu: Add go-go-abhg-dev-requiredfield., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 12/22] gnu: Add go-github-com-charmbracelet-bubbles., Herman Rimm, 2024/12/03
- [bug#72963] [PATCH go-team v2 19/22] gnu: Add go-github-com-rogpeppe-go-internal-testscript., Herman Rimm, 2024/12/03