gnu: go-github-com-mattn-go-colorable: Move to golang-xyz.

* gnu/packages/golang.scm (go-github-com-mattn-go-colorable): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

* gnu/packages/textutils.scm: Add (gnu packages golang-xyz) module.

Change-Id: I7a9763ebd498e071b17abbde838a7cbf8fc891de
This commit is contained in:
Sharlatan Hellseher 2024-04-06 09:12:52 +01:00
parent c73f70d3d5
commit cfc5f07ee9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 27 additions and 25 deletions

View file

@ -1787,6 +1787,32 @@ (define-public go-github-com-matryer-try
(description "This package provides an idiomatic Go retry module.")
(license license:expat)))
(define-public go-github-com-mattn-go-colorable
(package
(name "go-github-com-mattn-go-colorable")
(version "0.1.13")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattn/go-colorable")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "05hl2ddp67p5kj3ix4zzqqjh4fan4ban3vgw8f98simwigs3q41j"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/mattn/go-colorable"))
(propagated-inputs
(list go-github-com-mattn-go-isatty))
(home-page "https://github.com/mattn/go-colorable")
(synopsis "Handle ANSI color escapes on Windows")
(description
"This package provides @code{colorable}, a module that makes it possible
to handle ANSI color escapes on Windows.")
(license license:expat)))
(define-public go-github-com-mattn-go-isatty
(package
(name "go-github-com-mattn-go-isatty")

View file

@ -4351,31 +4351,6 @@ (define-public go-github-com-matrix-org-gomatrix
(description "This package provides a Golang Matrix client.")
(license license:asl2.0)))
(define-public go-github-com-mattn-go-colorable
(package
(name "go-github-com-mattn-go-colorable")
(version "0.1.13")
(home-page "https://github.com/mattn/go-colorable")
(source
(origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"05hl2ddp67p5kj3ix4zzqqjh4fan4ban3vgw8f98simwigs3q41j"))))
(build-system go-build-system)
(propagated-inputs
(list go-github-com-mattn-go-isatty))
(arguments
'(#:import-path "github.com/mattn/go-colorable"))
(synopsis "Handle ANSI color escapes on Windows")
(description "This package provides @code{colorable}, a module that
makes it possible to handle ANSI color escapes on Windows.")
(license license:expat)))
(define-public go-github-com-mattn-go-pointer
(let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
(revision "1"))

View file

@ -70,6 +70,7 @@ (define-module (gnu packages textutils)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages java)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pcre)