mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: go-github-com-kylelemons-godebug: Simplify.
* gnu/packages/golang-xyz.scm (go-github-com-kylelemons-godebug) [arguments] <skip-build?>: No go files in project's root. <phases>: Use default 'check. Change-Id: I420cb48ec6a51698eac47ae51dcdb455aeae4e49
This commit is contained in:
parent
3f3c26ec43
commit
3147109e6a
1 changed files with 2 additions and 10 deletions
|
@ -7668,16 +7668,8 @@ (define-public go-github-com-kylelemons-godebug
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/kylelemons/godebug"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Replace when go-build-system supports nested path.
|
||||
(delete 'build)
|
||||
(replace 'check
|
||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
#:skip-build? #t
|
||||
#:import-path "github.com/kylelemons/godebug"))
|
||||
(home-page "https://github.com/kylelemons/godebug")
|
||||
(synopsis "Pretty printer for Go values")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue