[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
86/401: gnu: Add go-gopkg-in-dnaeon-go-vcr-v4.
From: |
guix-commits |
Subject: |
86/401: gnu: Add go-gopkg-in-dnaeon-go-vcr-v4. |
Date: |
Thu, 26 Dec 2024 19:30:33 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit d0e2ca0327c4d1af502ec4b6317aff5337be9284
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Dec 6 00:13:26 2024 +0000
gnu: Add go-gopkg-in-dnaeon-go-vcr-v4.
* gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v4): New
variable.
Change-Id: I63a48e9e5c60f22f756d885bdd3ec247f6565394
---
gnu/packages/golang-check.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 9ac11dde19..2bc8303b72 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1385,6 +1385,34 @@ and replaying them in future runs in order to provide
fast, deterministic and
accurate testing of your code.")
(license license:bsd-2)))
+(define-public go-gopkg-in-dnaeon-go-vcr-v4
+ (package
+ (inherit go-gopkg-in-dnaeon-go-vcr-v3)
+ (name "go-gopkg-in-dnaeon-go-vcr-v4")
+ (version "4.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gopkg.in/dnaeon/go-vcr.v4")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1p1a4hbk303k2bv9dmaf770dml71zr3260g5z7yd84vzhj8i0rzb"))))
+ (arguments
+ (list
+ #:import-path "gopkg.in/dnaeon/go-vcr.v4"
+ #: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" "./..."))))))))))
+
(define-public go-gopkg-in-go-playground-assert-v1
(package
(name "go-gopkg-in-go-playground-assert-v1")
- 14/401: gnu: go-github-com-spf13-cast: Move to golang-xyz., (continued)
- 14/401: gnu: go-github-com-spf13-cast: Move to golang-xyz., guix-commits, 2024/12/26
- 22/401: gnu: go-github-com-twpayne-go-vfs: Move to golang-xyz., guix-commits, 2024/12/26
- 26/401: gnu: go-github-com-bmatcuk-doublestar-v4: Update to 4.7.1., guix-commits, 2024/12/26
- 32/401: gnu: packages/textutils: Remove golang module., guix-commits, 2024/12/26
- 56/401: gnu: go-github-com-golang-glog: Update to 1.2.3., guix-commits, 2024/12/26
- 58/401: gnu: go-github-com-vishvananda-netlink: Update to 1.3.0., guix-commits, 2024/12/26
- 62/401: gnu: go-github-com-vishvananda-netns: Move to golang-web., guix-commits, 2024/12/26
- 76/401: gnu: Add go-github-com-vito-midterm., guix-commits, 2024/12/26
- 75/401: gnu: Add go-github-com-sebdah-goldie-v2., guix-commits, 2024/12/26
- 83/401: gnu: Add go-github-com-xanzy-go-gitlab., guix-commits, 2024/12/26
- 86/401: gnu: Add go-gopkg-in-dnaeon-go-vcr-v4.,
guix-commits <=
- 93/401: gnu: Add go-github-com-tetratelabs-wazero., guix-commits, 2024/12/26
- 95/401: gnu: kubo: Undundle more packages., guix-commits, 2024/12/26
- 99/401: build-system/go: Add skip-build? option key., guix-commits, 2024/12/26
- 100/401: gnu: go-golang-org-x-lint: Update to 0.0.0-20241112194109-818c5a804067., guix-commits, 2024/12/26
- 102/401: gnu: go-golang-org-x-lint: Enable tests., guix-commits, 2024/12/26
- 101/401: gnu: go-golang-org-x-lint: Fix indentation., guix-commits, 2024/12/26
- 106/401: gnu: go-github-com-go-sql-driver-mysql: Enable tests., guix-commits, 2024/12/26
- 104/401: gnu: Add go-gonum-org-v1-gonum., guix-commits, 2024/12/26
- 105/401: gnu: Add go-github-com-aclements-go-moremath., guix-commits, 2024/12/26
- 108/401: gnu: go-github-com-go-stack-stack: Skip failing tests., guix-commits, 2024/12/26