mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 03:50:45 +02: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
0f809fe236
commit
c62f29ae1d
1 changed files with 2 additions and 10 deletions
|
@ -7668,16 +7668,8 @@ allocation. @code{fastime} is returning the approximate time.")
|
|||
(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…
Add table
Add a link
Reference in a new issue