Subject: [bug#75677] [PATCH rust-team 88/89] gnu: rust-json-patch-3: New variable.

From: Aaron Covrig <[email-masked]>
Date: Sun, 19 Jan 2025 17:50:02 -0500

* gnu/packages/crates-io.scm (rust-json-patch-3): New variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 09486a271a..f12b52128c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37470,6 +37470,39 @@ (define-public rust-json-deserializer-0.4
      "This package provides a performant library to deserialize JSON.")
     (license license:asl2.0)))
 
+(define-public rust-json-patch-3
+  (package
+    (name "rust-json-patch")
+    (version "3.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "json-patch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "023gm1q5xhhnhz7jqk009yb5wpjl4gckawgzxs82bg5nmzbjcdw6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-jsonptr" ,rust-jsonptr-0.6)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-utoipa" ,rust-utoipa-4))
+       #:cargo-development-inputs
+       (("rust-expectorate" ,rust-expectorate-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serde-yaml" ,rust-serde-yaml-0.9)
+        ("rust-utoipa" ,rust-utoipa-4))))
+    (home-page "https://github.com/idubrov/json-patch")
+    (synopsis "RFC 6902, JavaScript Object Notation (JSON) Patch")
+    (description
+     "A @url{https://tools.ietf.org/html/rfc6902,JSON Patch (RFC 6902)} and
+ @url{https://tools.ietf.org/html/rfc7396,JSON Merge Patch (RFC 7396)}
+ implementation for Rust.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-jsonpath-lib-0.3
   (package
     (name "rust-jsonpath-lib")
-- 
2.47.1