Subject: [bug#69257] [PATCH 123/228] gnu: Add rust-assert-json-diff-2.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:08:13 +0100

* gnu/packages/crates-io.scm (rust-assert-json-diff-2): Add variable.

Change-Id: I4cba34d21e7d52c9d4110837ce7ad04e065d6f17
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b18058485c..84aa9a9555 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3838,6 +3838,30 @@ (define-public rust-assert-impl-0.1
     (description "Macro for static assert types implement a trait or not")
     (license license:expat)))
 
+(define-public rust-assert-json-diff-2
+  (package
+    (name "rust-assert-json-diff")
+    (version "2.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "assert-json-diff" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04mg3w0rh3schpla51l18362hsirl23q93aisws2irrj32wg5r27"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1))
+       #:cargo-development-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-version-sync" ,rust-version-sync-0.8))))
+    (home-page "https://github.com/davidpdrsn/assert-json-diff")
+    (synopsis "Easily compare two JSON values and get great output")
+    (description "This package lets you easily compare two JSON values
+and get great output.")
+    (license license:expat)))
+
 (define-public rust-assert-matches-1
   (package
     (name "rust-assert-matches")
-- 
2.41.0