gnu: Add go-github-com-sebdah-goldie-v2.

* gnu/packages/golang-xyz.scm (go-github-com-sebdah-goldie-v2): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I34b6aaf6e7a5db6778fdbcd46c886aa6b5eb9b37
This commit is contained in:
Herman Rimm 2024-12-03 14:14:47 +01:00 committed by Sharlatan Hellseher
parent 157426970b
commit c28e902b9f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7335,6 +7335,35 @@ (define-public go-github-com-schollz-progressbar-v3
is undetermined, a customizable spinner is shown.")
(license license:expat)))
(define-public go-github-com-sebdah-goldie-v2
(package
(name "go-github-com-sebdah-goldie-v2")
(version "2.5.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sebdah/goldie")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "12gji9p6b6zlkisbd3ww103zwd5chlwkb6h5dppfrmgxim84n5n0"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/sebdah/goldie/v2"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-pmezard-go-difflib
go-github-com-sergi-go-diff))
(home-page "https://github.com/sebdah/goldie")
(synopsis "Golden test utility")
(description
"Package goldie provides test assertions based on golden files.
It's typically used for testing responses with larger data bodies.")
(license license:expat)))
(define-public go-github-com-sergi-go-diff
(package
(name "go-github-com-sergi-go-diff")