guix-commits
[Top][All Lists]
Advanced

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

75/88: gnu: Add go-github-com-sebdah-goldie-v2.


From: guix-commits
Subject: 75/88: gnu: Add go-github-com-sebdah-goldie-v2.
Date: Fri, 6 Dec 2024 16:17:31 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 773fa2106029f1a3fcbac44be12ecdf95d77af3f
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Dec 3 14:14:47 2024 +0100

    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
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 43664c5da8..b6a9079856 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7335,6 +7335,35 @@ detect the number of bytes written to a stream, so you 
can use it as a
 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")



reply via email to

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