mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
gnu: go-github-com-muesli-reflow-wordwrap: Consolidate other packages.
Rename go-github-com-muesli-reflow-wordwrap to go-github-com-muesli-reflow which would contain all submodules to ease maintenance. * gnu/packages/golang.scm (go-github-com-muesli-reflow): Refresh package style. [arguments]: <#unpack-path>: Remove it. <#:import-path>: Adjust it to reflect the go.mod. <#:phases>: Use custom 'check phase. [description]: Place on a new line. * gnu/packages/golang.scm (go-github-com-muesli-reflow-ansi, go-github-com-muesli-reflow-indent, go-github-com-muesli-reflow-padding, go-github-com-muesli-reflow-truncate): Delete variables. * gnu/packages/configuration-management.scm (chezmoi): Adjust inputs. [native-inputs]: Remove go-github-com-muesli-reflow-ansi, go-github-com-muesli-reflow-indent, go-github-com-muesli-reflow-padding, and go-github-com-muesli-reflow. * gnu/packages/golang.scm (go-github-com-charmbracelet-glamour): Likewise. [native-inputs]: Remove go-github-com-muesli-reflow-ansi, go-github-com-muesli-reflow-wordwrap, go-github-com-muesli-reflow-indent, and go-github-com-muesli-reflow. * gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Likewise. [propagated-inputs]: Remove go-github-com-muesli-reflow-indent, go-github-com-muesli-reflow-ansi, and and go-github-com-muesli-reflow. Change-Id: I2e0f2abad36bd6a9ca98e2505fcd90273294213b
This commit is contained in:
parent
bf385c341e
commit
a60fd37762
2 changed files with 30 additions and 59 deletions
|
@ -100,10 +100,7 @@ (define-public chezmoi
|
||||||
go-github-com-mattn-go-isatty
|
go-github-com-mattn-go-isatty
|
||||||
go-github-com-mattn-go-runewidth
|
go-github-com-mattn-go-runewidth
|
||||||
go-github-com-microcosm-cc-bluemonday
|
go-github-com-microcosm-cc-bluemonday
|
||||||
go-github-com-muesli-reflow-ansi
|
go-github-com-muesli-reflow
|
||||||
go-github-com-muesli-reflow-indent
|
|
||||||
go-github-com-muesli-reflow-padding
|
|
||||||
go-github-com-muesli-reflow-wordwrap
|
|
||||||
go-github-com-muesli-termenv
|
go-github-com-muesli-termenv
|
||||||
go-github-com-olekukonko-tablewriter
|
go-github-com-olekukonko-tablewriter
|
||||||
go-github-com-pelletier-go-toml
|
go-github-com-pelletier-go-toml
|
||||||
|
|
|
@ -6706,63 +6706,42 @@ (define-public go-github-com-bmatcuk-doublestar-v4
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/bmatcuk/doublestar/v4"))))
|
#:import-path "github.com/bmatcuk/doublestar/v4"))))
|
||||||
|
|
||||||
(define-public go-github-com-muesli-reflow-wordwrap
|
(define-public go-github-com-muesli-reflow
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-muesli-reflow-wordwrap")
|
(name "go-github-com-muesli-reflow")
|
||||||
(version "0.3.0")
|
(version "0.3.0")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://github.com/muesli/reflow")
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://github.com/muesli/reflow")
|
||||||
(file-name (git-file-name "go-github-com-muesli-reflow" version))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(file-name (git-file-name "go-github-com-muesli-reflow" version))
|
||||||
(base32
|
(sha256
|
||||||
"09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry"))))
|
(base32 "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:import-path "github.com/muesli/reflow/wordwrap"
|
(list
|
||||||
#:unpack-path "github.com/muesli/reflow"))
|
#:import-path "github.com/muesli/reflow"
|
||||||
(native-inputs
|
#: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))
|
(list go-github-com-mattn-go-runewidth))
|
||||||
(home-page "https://github.com/muesli/reflow/")
|
(home-page "https://github.com/muesli/reflow/")
|
||||||
(synopsis "Collection of methods helping to transform blocks of text")
|
(synopsis "Collection of methods helping to transform blocks of text")
|
||||||
(description "This package provides a collection of ANSI-aware methods and
|
(description
|
||||||
io.Writers helping you to transform blocks of text.")
|
"This package provides a collection of ANSI-aware methods and io.Writers
|
||||||
|
helping you to transform blocks of text.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-muesli-reflow-ansi
|
|
||||||
(package
|
|
||||||
(inherit go-github-com-muesli-reflow-wordwrap)
|
|
||||||
(name "go-github-com-muesli-reflow-ansi")
|
|
||||||
(arguments
|
|
||||||
`(#:import-path "github.com/muesli/reflow/ansi"
|
|
||||||
#:unpack-path "github.com/muesli/reflow"))))
|
|
||||||
|
|
||||||
(define-public go-github-com-muesli-reflow-indent
|
|
||||||
(package
|
|
||||||
(inherit go-github-com-muesli-reflow-wordwrap)
|
|
||||||
(name "go-github-com-muesli-reflow-indent")
|
|
||||||
(arguments
|
|
||||||
`(#:import-path "github.com/muesli/reflow/indent"
|
|
||||||
#:unpack-path "github.com/muesli/reflow"))))
|
|
||||||
|
|
||||||
(define-public go-github-com-muesli-reflow-padding
|
|
||||||
(package
|
|
||||||
(inherit go-github-com-muesli-reflow-wordwrap)
|
|
||||||
(name "go-github-com-muesli-reflow-padding")
|
|
||||||
(arguments
|
|
||||||
`(#:import-path "github.com/muesli/reflow/padding"
|
|
||||||
#:unpack-path "github.com/muesli/reflow"))))
|
|
||||||
|
|
||||||
(define-public go-github-com-muesli-reflow-truncate
|
|
||||||
(package
|
|
||||||
(inherit go-github-com-muesli-reflow-wordwrap)
|
|
||||||
(name "go-github-com-muesli-reflow-truncate")
|
|
||||||
(arguments
|
|
||||||
`(#:import-path "github.com/muesli/reflow/truncate"
|
|
||||||
#:unpack-path "github.com/muesli/reflow"))))
|
|
||||||
|
|
||||||
(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")
|
||||||
|
@ -6895,10 +6874,7 @@ (define-public go-github-com-charmbracelet-glamour
|
||||||
go-github-com-chris-ramon-douceur
|
go-github-com-chris-ramon-douceur
|
||||||
go-github-com-aymerick-douceur
|
go-github-com-aymerick-douceur
|
||||||
go-github-com-gorilla-css
|
go-github-com-gorilla-css
|
||||||
go-github-com-muesli-reflow-ansi
|
go-github-com-muesli-reflow
|
||||||
go-github-com-muesli-reflow-wordwrap
|
|
||||||
go-github-com-muesli-reflow-indent
|
|
||||||
go-github-com-muesli-reflow-padding
|
|
||||||
go-github-com-mattn-go-runewidth
|
go-github-com-mattn-go-runewidth
|
||||||
go-github-com-muesli-termenv
|
go-github-com-muesli-termenv
|
||||||
go-github-com-google-goterm
|
go-github-com-google-goterm
|
||||||
|
@ -8420,11 +8396,9 @@ (define-public go-github-com-charmbracelet-bubbletea
|
||||||
`(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
|
`(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
|
||||||
("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
|
("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
|
||||||
("github.com/mattn/go-runewidth" ,go-github-com-mattn-go-runewidth)
|
("github.com/mattn/go-runewidth" ,go-github-com-mattn-go-runewidth)
|
||||||
("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
|
("go-github-com-muesli-reflow" ,go-github-com-muesli-reflow)
|
||||||
("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
|
|
||||||
("go-github-com-lucasb-eyer-go-colorful" ,go-github-com-lucasb-eyer-go-colorful)
|
("go-github-com-lucasb-eyer-go-colorful" ,go-github-com-lucasb-eyer-go-colorful)
|
||||||
("github.com/containerd/console" ,go-github-com-containerd-console)
|
("github.com/containerd/console" ,go-github-com-containerd-console)
|
||||||
("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate)
|
|
||||||
("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
|
("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
|
||||||
("go-golang-org-x-sys" ,go-golang-org-x-sys)
|
("go-golang-org-x-sys" ,go-golang-org-x-sys)
|
||||||
("go-golang-org-x-term" ,go-golang-org-x-term)
|
("go-golang-org-x-term" ,go-golang-org-x-term)
|
||||||
|
|
Loading…
Reference in a new issue