gnu: go-github-com-muesli-reflow: Move to golang-xyz.

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

Change-Id: Ie839050f776b764b034492292f7821266b953b1e
This commit is contained in:
Sharlatan Hellseher 2024-08-23 16:35:42 +01:00
parent ed907c7a29
commit 48f5df83df
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
2 changed files with 36 additions and 36 deletions

View File

@ -4482,6 +4482,42 @@ Authentication Modules, PAM} application API.")
"This package provides a cancelable reader for Go.")
(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 name 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")

View File

@ -6053,42 +6053,6 @@ matching and globbing with support for \"doublestar\" patterns.")
(list
#:import-path "github.com/bmatcuk/doublestar/v4"))))
(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-olekukonko-tablewriter
(package
(name "go-github-com-olekukonko-tablewriter")