[bug#75677,rust-team,v2,75/81] gnu: rust-jsonptr-0.6: New variable.

Message ID 20250308033446.2101481-76-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:34 a.m. UTC
  * gnu/packages/crates-io.scm (rust-jsonptr-0.6): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 844c0d301b..9509bff407 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38149,6 +38149,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")