~ruther/guix-local

78d4de01c80891534fd40978eb080ce9816f5a3f — Raven Hallsby 5 months ago a5ab3a3
gnu: Add go-github-com-gkampitakis-go-snaps.

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

Change-Id: I7efe0b569cf5e8b7465887f71294e2bdb33b4a54
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 36 insertions(+), 0 deletions(-)

M gnu/packages/golang-check.scm
M gnu/packages/golang-check.scm => gnu/packages/golang-check.scm +36 -0
@@ 862,6 862,42 @@ This is a reimplementation of @uref{https://github.com/watson/ci-info,
ci-info} in Go.")
    (license license:expat)))

(define-public go-github-com-gkampitakis-go-snaps
  ;; Updated version is not released yet, see:
  ;; <https://github.com/gkampitakis/go-snaps/issues/140>.
  (let ((commit "0832b79c205714d0e21108ab3848cc2715eed2d3")
        (revision "0"))
    (package
      (name "go-github-com-gkampitakis-go-snaps")
      (version (git-version "0.5.15" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/gkampitakis/go-snaps")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "1djdcc2pkizpnv35q49y7ncll7yw0w8j3a347ybrqs6my7qv66lx"))))
      (build-system go-build-system)
      (arguments
       (list
        #:skip-build? #t
        #:import-path "github.com/gkampitakis/go-snaps"))
      (propagated-inputs
       (list go-github-com-gkampitakis-ciinfo
             go-github-com-goccy-go-yaml
             go-github-com-kr-pretty
             go-github-com-maruel-natural
             go-github-com-sergi-go-diff
             go-github-com-tidwall-gjson
             go-github-com-tidwall-pretty
             go-github-com-tidwall-sjson))
      (home-page "https://github.com/gkampitakis/go-snaps")
      (synopsis "Jest-like snapshot testing in Go")
      (description "go-snaps is a Go implementation of Jest snapshot testing.")
      (license license:expat))))

(define-public go-github-com-go-playground-assert-v2
  (package
    (name "go-github-com-go-playground-assert-v2")