[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/74: gnu: go-github-com-beorn7-perks-quantile: Rename variable.
From: |
guix-commits |
Subject: |
48/74: gnu: go-github-com-beorn7-perks-quantile: Rename variable. |
Date: |
Thu, 25 Jul 2024 18:02:27 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 493da0697bd807864213dfeef3c0bbf088499ba4
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jul 24 23:22:11 2024 +0100
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
---
gnu/packages/golang-xyz.scm | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 82b9fa59d5..f131499766 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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.")
(license license:expat)))
-(define-public go-github-com-beorn7-perks-quantile
+(define-public go-github-com-beorn7-perks
(package
- (name "go-github-com-beorn7-perks-quantile")
+ (name "go-github-com-beorn7-perks")
(version "1.0.1")
(source
(origin
@@ -887,8 +887,17 @@ can use the realtime clock while tests can use the mock
clock.")
(base32 "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7"))))
(build-system go-build-system)
(arguments
- (list #:import-path "github.com/beorn7/perks/quantile"
- #:unpack-path "github.com/beorn7/perks"))
+ (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" "./..."))))))))
(home-page "https://github.com/beorn7/perks")
(synopsis "Compute approximate quantiles over an unbounded data stream")
(description
- 68/74: gnu: go-netlink: Enable tests., (continued)
- 68/74: gnu: go-netlink: Enable tests., guix-commits, 2024/07/25
- 69/74: gnu: go-netlink: Rename variable., guix-commits, 2024/07/25
- 71/74: gnu: go-github-com-bits-and-blooms-bloom: Rename variable., guix-commits, 2024/07/25
- 72/74: gnu: go-github-com-arceliar-ironwood: Enable tests., guix-commits, 2024/07/25
- 09/74: gnu: go-github-com-google-go-cmp: Move to golang-build., guix-commits, 2024/07/25
- 02/74: gnu: go-golang-org-x-oauth2: Improve package style., guix-commits, 2024/07/25
- 05/74: gnu: go-github-com-google-go-cmp-cmp: Update to 0.6.0., guix-commits, 2024/07/25
- 14/74: gnu: go-github-com-stretchr-testify: Update to 1.9.0., guix-commits, 2024/07/25
- 31/74: gnu: scc: Update to 3.3.5., guix-commits, 2024/07/25
- 38/74: gnu: Add go-github-com-munnerz-goautoneg., guix-commits, 2024/07/25
- 48/74: gnu: go-github-com-beorn7-perks-quantile: Rename variable.,
guix-commits <=
- 53/74: gnu: kubo: Add missing input., guix-commits, 2024/07/25
- 58/74: gnu: go-github-com-prometheus-procfs: Update to 0.15.1., guix-commits, 2024/07/25
- 16/74: gnu: go-golang-org-sql-mock: Refresh package style., guix-commits, 2024/07/25
- 22/74: gnu: go-go-uber-org-goleak: Update to 1.3.0., guix-commits, 2024/07/25
- 21/74: gnu: go-github.com-jtolds-gls: Rename variable., guix-commits, 2024/07/25
- 29/74: gnu: go-github-com-aws-aws-sdk-go: Enable all tests., guix-commits, 2024/07/25
- 34/74: gnu: go-github-com-prometheus-client-model: Update to 0.6.1., guix-commits, 2024/07/25