guix_mirror_bot pushed a commit to branch master
in repository guix.

commit cdadf4480d1b9b4f0a0d8394b48296b88886d983
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Nov 30 21:14:54 2025 +0000

    gnu: go-gopkg-in-dnaeon-go-vcr-v3: Update to 3.2.2.
    
    * gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v3): Update to 
3.2.2.
    Inherit from go-github-com-dnaeon-go-vcr.
    [source]: Switch from gopkg.in to github.com source location.
    
    Change-Id: I399b9a6a2015b2cb499f3ed74f1ea3db975195ec
---
 gnu/packages/golang-check.scm | 38 ++++++++++----------------------------
 1 file changed, 10 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 8bfbe80f70..3db2e98d10 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -3100,43 +3100,25 @@ the source code, it only prints out style mistakes.")
 
 (define-public go-gopkg-in-dnaeon-go-vcr-v3
   (package
+    (inherit go-github-com-dnaeon-go-vcr)
     (name "go-gopkg-in-dnaeon-go-vcr-v3")
-    (version "3.2.0")
+    (version "3.2.2")
     (source
      (origin
+       (inherit (package-source go-github-com-dnaeon-go-vcr))
        (method git-fetch)
        (uri (git-reference
-             (url "https://gopkg.in/dnaeon/go-vcr.v3";)
-             (commit (string-append "v" version))))
+              (url "https://github.com/dnaeon/go-vcr";)
+              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1nij7rjbnrbsgjlm7fwpg298qffrgi2ic3wb51vqzxl6s9qkbzrq"))
-       (snippet
-        #~(begin (use-modules (guix build utils))
-                 (delete-file-recursively "vendor")))))
-    (build-system go-build-system)
+        (base32 "0p8lnkksjajnil1cwsfmpdajvnx1i3z6sfpgqk4hyvlz3apki8vg"))))
     (arguments
-     (list
-      #:import-path "gopkg.in/dnaeon/go-vcr.v3"
-      #: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" "./..."))))))))
+     (substitute-keyword-arguments
+         (package-arguments go-github-com-dnaeon-go-vcr)
+       ((#:import-path _) "gopkg.in/dnaeon/go-vcr.v3")))
     (propagated-inputs
-     (list go-gopkg-in-yaml-v3))
-    (home-page "https://gopkg.in/dnaeon/go-vcr.v3";)
-    (synopsis "Record and replay your HTTP interactions")
-    (description
-     "@@code{go-vcr} simplifies testing by recording your HTTP interactions
-and replaying them in future runs in order to provide fast, deterministic and
-accurate testing of your code.")
-    (license license:bsd-2)))
+     (list go-gopkg-in-yaml-v3))))
 
 (define-public go-gopkg-in-dnaeon-go-vcr-v4
   (package

Reply via email to