mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: go-github-com-burntsushi-toml: Enable all tests.
* gnu/packages/golang-xyz.scm (go-github-com-burntsushi-toml) [arguments]: <#:phases>: Use custom 'check phase. Change-Id: Ie0b76af157c7b8b7ddd18c934e79f895712cb365
This commit is contained in:
parent
acdc473e0f
commit
294d3fde53
1 changed files with 10 additions and 1 deletions
|
@ -1062,7 +1062,16 @@ (define-public go-github-com-burntsushi-toml
|
|||
(base32 "1vk0s7pcn80hkx0lcyws509gqs42c8y1rppv05zxiqj0yn2zrjnx"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/BurntSushi/toml"))
|
||||
(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" "./..."))))))))
|
||||
(home-page "https://github.com/BurntSushi/toml")
|
||||
(synopsis "Toml parser and encoder for Go")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue