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:
Sharlatan Hellseher 2025-01-01 15:02:08 +00:00
parent 3f3c26ec43
commit 3147109e6a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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