mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-beorn7-perks-quantile: Rename variable.
* gnu/packages/golang-xyz.scm (go-github-com-beorn7-perks-quantile): Rename to go-github-com-beorn7-perks to reflect go.mod import path. [arguments]: <#phases>: Use custom 'check phase, delete 'build phase. Change-Id: Iae8e39e2e2f2929002e2382fde297b6282bca070
This commit is contained in:
parent
e654b7f937
commit
493da0697b
1 changed files with 13 additions and 4 deletions
|
@ -872,9 +872,9 @@ interface around the standard library's @code{time} package so that the applicat
|
||||||
can use the realtime clock while tests can use the mock clock.")
|
can use the realtime clock while tests can use the mock clock.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-beorn7-perks-quantile
|
(define-public go-github-com-beorn7-perks
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-beorn7-perks-quantile")
|
(name "go-github-com-beorn7-perks")
|
||||||
(version "1.0.1")
|
(version "1.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -887,8 +887,17 @@ can use the realtime clock while tests can use the mock clock.")
|
||||||
(base32 "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7"))))
|
(base32 "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:import-path "github.com/beorn7/perks/quantile"
|
(list
|
||||||
#:unpack-path "github.com/beorn7/perks"))
|
#: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" "./..."))))))))
|
||||||
(home-page "https://github.com/beorn7/perks")
|
(home-page "https://github.com/beorn7/perks")
|
||||||
(synopsis "Compute approximate quantiles over an unbounded data stream")
|
(synopsis "Compute approximate quantiles over an unbounded data stream")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue