mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +02:00
gnu: go-github-com-burntsushi-toml: Simplify.
* gnu/packages/golang-xyz.scm (go-github-com-burntsushi-toml) [arguments] <phases>: Use default 'check. Change-Id: I53dd7c48c47a42c07d0787718101d3985b63b576
This commit is contained in:
parent
0d29827223
commit
a0525d4193
1 changed files with 1 additions and 9 deletions
|
@ -1683,15 +1683,7 @@ strings into words like a POSIX or Windows shell would.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/BurntSushi/toml"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Replace when go-build-system supports nested path.
|
||||
(replace 'check
|
||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
#:import-path "github.com/BurntSushi/toml"))
|
||||
(home-page "https://github.com/BurntSushi/toml")
|
||||
(synopsis "Toml parser and encoder for Go")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue