Subject: [PATCH go-team v2 11/22] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-recorder.

From: Herman Rimm <[email-masked]>
Date: Tue, 3 Dec 2024 14:14:56 +0100

* gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v3-recorder):
Add variable.
---
 gnu/packages/golang-check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 759205816b..e2379d2e78 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1334,6 +1334,33 @@ (define-public go-gopkg-in-check-v1
     (description "This package provides a test library for the Go language.")
     (license license:bsd-2)))
 
+(define-public go-gopkg-in-dnaeon-go-vcr-v3-recorder
+  (package
+    (name "go-gopkg-in-dnaeon-go-vcr-v3-recorder")
+    (version "3.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gopkg.in/dnaeon/go-vcr.v3")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1nij7rjbnrbsgjlm7fwpg298qffrgi2ic3wb51vqzxl6s9qkbzrq"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "gopkg.in/dnaeon/go-vcr.v3/recorder"
+           #:unpack-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)))
+
 (define-public go-gopkg-in-go-playground-assert-v1
   (package
     (name "go-gopkg-in-go-playground-assert-v1")
-- 
2.45.2