1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-17 04:20:44 +02:00

gnu: go-github-com-beorn7-perks: Simplify.

* gnu/packages/golang-xyz.scm (go-github-com-beorn7-perks): Update to 1.0.1.
[arguments] <skip-build?>: Set to #t, as no go files in project's root.
<phases>: Use default 'check.

Change-Id: Ie6b535ff8ebd5426f0e067189c603ef9569841eb
This commit is contained in:
Sharlatan Hellseher 2024-12-29 15:22:00 +00:00
parent 015b5ad214
commit c8113c0262
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1338,16 +1338,8 @@ can use the realtime clock while tests can use the mock clock.")
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/beorn7/perks"
#:phases
#~(modify-phases %standard-phases
;; XXX: Workaround for go-build-system's lack of Go modules support.
(delete 'build)
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v" "./..."))))))))
#:skip-build? #t
#:import-path "github.com/beorn7/perks"))
(home-page "https://github.com/beorn7/perks")
(synopsis "Compute approximate quantiles over an unbounded data stream")
(description