Subject: [PATCH rust-team 79/89] gnu: rust-jsonptr-0.6: New variable.

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

* gnu/packages/crates-io.scm (rust-jsonptr-0.6): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b519c2e6f..93d0355cb6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37443,6 +37443,37 @@ (define-public rust-jsonpath-lib-0.3
 interface in Webassembly and Javascript too.")
     (license license:expat)))
 
+(define-public rust-jsonptr-0.6
+  (package
+    (name "rust-jsonptr")
+    (version "0.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jsonptr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0w6xkr6ns46nm3136x7www1dczz45y2bl9bsxmb2b6r3vlkjpsjx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-syn" ,rust-syn-1)
+        ("rust-toml" ,rust-toml-0.8))
+       #:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-1)
+        ("rust-quickcheck-macros" ,rust-quickcheck-macros-1))))
+    (home-page "https://github.com/chanced/jsonptr")
+    (synopsis "Data structures and logic for resolving, assigning, and deleting
+JSON Pointers")
+    (description "JSON Pointers
+(@url{https://datatracker.ietf.org/doc/html/rfc6901,RFC 6901}) defines a string
+syntax for identifying a specific location within a JSON, or similar, document.
+This crate provides two types, @code{Pointer} and @code{PointerBuf} (akin to
+@code{Path} and @code{PathBuf}), for working with them abstractly.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-jsonrpc-core-18
   (package
     (name "rust-jsonrpc-core")
-- 
2.47.1