sharlatan pushed a commit to branch go-team
in repository guix.
commit 20d59765a3f07cb7ded7df47a9a2d014c0270d99
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 29 15:22:00 2024 +0000
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
---
gnu/packages/golang-xyz.scm | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 9e58ab82c3..2f7e9fc31e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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