From 8bd67b7af991cee362b39b02a852123fa684dfef Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 30 Nov 2025 21:14:52 +0000 Subject: [PATCH] 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 7051d780a583ed351fcdf8f184a95c89f5770cfc..8bfbe80f70e7ee8207bb45ae12c7056f56a15f0b 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")