mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/BurntSushi/toml"
|
#: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" "./..."))))))))
|
|
||||||
(home-page "https://github.com/BurntSushi/toml")
|
(home-page "https://github.com/BurntSushi/toml")
|
||||||
(synopsis "Toml parser and encoder for Go")
|
(synopsis "Toml parser and encoder for Go")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue