mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02:00
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:
parent
ed907c7a29
commit
48f5df83df
2 changed files with 36 additions and 36 deletions
|
@ -4482,6 +4482,42 @@ Authentication Modules, PAM} application API.")
|
||||||
"This package provides a cancelable reader for Go.")
|
"This package provides a cancelable reader for Go.")
|
||||||
(license license:expat)))
|
(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
|
(define-public go-github-com-muesli-termenv
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-muesli-termenv")
|
(name "go-github-com-muesli-termenv")
|
||||||
|
|
|
@ -6053,42 +6053,6 @@ matching and globbing with support for \"doublestar\" patterns.")
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/bmatcuk/doublestar/v4"))))
|
#: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
|
(define-public go-github-com-olekukonko-tablewriter
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-olekukonko-tablewriter")
|
(name "go-github-com-olekukonko-tablewriter")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue