guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72963] [PATCH go-team 13/30] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-


From: Herman Rimm
Subject: [bug#72963] [PATCH go-team 13/30] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-recorder.
Date: Mon, 2 Sep 2024 14:18:21 +0200

* 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 733fe89699..acf7ebb53d 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1179,6 +1179,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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]