~ruther/guix-local

8bd67b7af991cee362b39b02a852123fa684dfef — Sharlatan Hellseher 2 months ago 7194a6d
gnu: Add go-github-com-dnaeon-go-vcr.

* gnu/packages/golang-check.scm (go-github-com-dnaeon-go-vcr): New variable.

Change-Id: I00d0e4843a6f880faab0d1300e85a2cd299914a6
1 files changed, 31 insertions(+), 0 deletions(-)

M gnu/packages/golang-check.scm
M gnu/packages/golang-check.scm => gnu/packages/golang-check.scm +31 -0
@@ 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")