guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72963] [PATCH go-team v2 02/22] gnu: Add go-github-com-sebdah-goldi


From: Herman Rimm
Subject: [bug#72963] [PATCH go-team v2 02/22] gnu: Add go-github-com-sebdah-goldie-v2.
Date: Tue, 3 Dec 2024 14:14:47 +0100

* gnu/packages/golang-xyz.scm (go-github-com-sebdah-goldie-v2): Add
variable.
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e88f0206ef..4f824ab935 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6979,6 +6979,32 @@ (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"))
+    (propagated-inputs (list go-github-com-stretchr-testify
+                             go-github-com-sergi-go-diff
+                             go-github-com-pmezard-go-difflib))
+    (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")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]