Subject: [bug#75176] [PATCH 16/18] gnu: Add go-github-com-swaggest-assertjson.

From: Roman Scherer <[email-masked]>
Date: Sun, 29 Dec 2024 13:14:35 +0100

* gnu/packages/golang-xyz.scm (go-github-com-swaggest-assertjson): New variable.

Change-Id: Ib679c647d68c03bcd941ec6b475cc0745c6dc236
---
 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 3079aec868..6c986cf8c7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7536,6 +7536,35 @@ (define-public go-github-com-subosito-gotenv
      "Go library for loading environment variables from files")
     (license license:expat)))
 
+(define-public go-github-com-swaggest-assertjson
+  (package
+    (name "go-github-com-swaggest-assertjson")
+    (version "1.9.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/swaggest/assertjson")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0smxcs548dnchqqk4bys167xaawzz125qsvlvpa267fkhqrxk7f9"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:tests? #f
+      #:import-path "github.com/swaggest/assertjson"))
+    (propagated-inputs (list go-github-com-yudai-gojsondiff
+                             go-github-com-yosuke-furukawa-json5
+                             go-github-com-stretchr-testify
+                             go-github-com-iancoleman-orderedmap
+                             go-github-com-bool64-shared
+                             go-github-com-bool64-dev))
+    (home-page "https://github.com/swaggest/assertjson")
+    (synopsis "JSON equality assertions for Golang")
+    (description "This package provides JSON equality assertions for Golang.")
+    (license license:expat)))
+
 (define-public go-github-com-syndtr-goleveldb
   (package
     (name "go-github-com-syndtr-goleveldb")
-- 
2.47.1