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:
parent
015b5ad214
commit
c8113c0262
1 changed files with 2 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue