From 78d4de01c80891534fd40978eb080ce9816f5a3f Mon Sep 17 00:00:00 2001 From: Raven Hallsby Date: Sat, 25 Oct 2025 12:25:14 -0500 Subject: [PATCH] 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 --- gnu/packages/golang-check.scm | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 7488498afbfc6c145ace36340c8c865e144a9760..2f604620ac2d526d7b0580d3e79e4d1ba3b97012 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -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: + ;; . + (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")