mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/kylelemons/godebug"
|
#:skip-build? #t
|
||||||
#:phases
|
#:import-path "github.com/kylelemons/godebug"))
|
||||||
#~(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" "./..."))))))))
|
|
||||||
(home-page "https://github.com/kylelemons/godebug")
|
(home-page "https://github.com/kylelemons/godebug")
|
||||||
(synopsis "Pretty printer for Go values")
|
(synopsis "Pretty printer for Go values")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue