mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 11:00:36 +02:00
gnu: go-golang-org-x-text: Simplify.
* gnu/packages/golang-build.scm (go-golang-org-x-text): [arguments] <skip-build?>: Set to #t, as no go files in project's root. <phases>: Use default 'check. [native-inputs]: Add go-golang-org-x-mod-bootstrap, go-golang-org-x-sync-bootstrap, and go-golang-org-x-tools-bootstrap. Change-Id: Ib4e55e622554d79a8d03abfc52ced0a5eb516d85
This commit is contained in:
parent
c33de366f8
commit
8fafe6d8b6
1 changed files with 6 additions and 28 deletions
|
@ -960,35 +960,13 @@ terminals, as commonly found on Unix systems.")
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "golang.org/x/text"
|
#:skip-build? #t
|
||||||
#:phases
|
#:import-path "golang.org/x/text"))
|
||||||
#~(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"
|
|
||||||
"./cases/..."
|
|
||||||
;; cmd - cycle with go-golang-org-x-tools
|
|
||||||
"./collate/..."
|
|
||||||
"./currency/..."
|
|
||||||
"./date/..."
|
|
||||||
"./encoding/..."
|
|
||||||
"./feature/..."
|
|
||||||
"./internal/..."
|
|
||||||
"./language/..."
|
|
||||||
;; message - cycle with go-golang-org-x-tools
|
|
||||||
"./number/..."
|
|
||||||
"./runes/..."
|
|
||||||
"./search/..."
|
|
||||||
"./secure/..."
|
|
||||||
"./transform/..."
|
|
||||||
"./unicode/..."
|
|
||||||
"./width/..."))))))))
|
|
||||||
(home-page "https://go.googlesource.com/text")
|
(home-page "https://go.googlesource.com/text")
|
||||||
|
(native-inputs
|
||||||
|
(list go-golang-org-x-mod-bootstrap
|
||||||
|
go-golang-org-x-sync-bootstrap
|
||||||
|
go-golang-org-x-tools-bootstrap))
|
||||||
(synopsis "Supplemental Go text processing libraries")
|
(synopsis "Supplemental Go text processing libraries")
|
||||||
(description
|
(description
|
||||||
"This package provides supplemental Go libraries for text
|
"This package provides supplemental Go libraries for text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue