guix_mirror_bot pushed a commit to branch master
in repository guix.

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

    gnu: Add go-github-com-dnaeon-go-vcr.
    
    * gnu/packages/golang-check.scm (go-github-com-dnaeon-go-vcr): New variable.
    
    Change-Id: I00d0e4843a6f880faab0d1300e85a2cd299914a6
---
 gnu/packages/golang-check.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 7051d780a5..8bfbe80f70 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -697,6 +697,37 @@ style).
 test minimization algorithm.")
     (license license:bsd-2)))
 
+(define-public go-github-com-dnaeon-go-vcr
+  (package
+    (name "go-github-com-dnaeon-go-vcr")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/dnaeon/go-vcr";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1aw8s3aljhw9vpzcf8m64r5yv5g0j09dky30shzxvpjwpl5yxhir"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (delete-file-recursively "vendor")))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:skip-build? #t
+      #:import-path "github.com/dnaeon/go-vcr"))
+    (propagated-inputs
+     (list go-gopkg-in-yaml-v2))
+    (home-page "https://github.com/dnaeon/go-vcr";)
+    (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-github-com-dvyukov-go-fuzz
   (package
     (name "go-github-com-dvyukov-go-fuzz")

Reply via email to