mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 02:50:45 +02:00
gnu: go-github-com-kylelemons-godebug: Improve style.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug): Provide "diff" and "pritty" modules together. [arguments]<phases>: Remove 'build, add custom 'check. Change-Id: I4815d3476025c0c16645e32c675de601ba582f6d
This commit is contained in:
parent
bdedac9864
commit
c253c9db5d
1 changed files with 11 additions and 2 deletions
|
@ -4667,8 +4667,17 @@ have super fancy logs.")
|
|||
"0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/kylelemons/godebug/diff"
|
||||
#:unpack-path "github.com/kylelemons/godebug"))
|
||||
(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" "./..."))))))))
|
||||
(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