Subject: [bug#75677] [PATCH rust-team v2 70/81] gnu: rust-jsonschema-0.26: New variable.

From: Aaron Covrig <[email-masked]>
Date: Fri, 7 Mar 2025 22:34:16 -0500

* gnu/packages/crates-io.scm (rust-jsonschema-0.26): New variable.
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8804cfc943..4c6844da85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38176,6 +38176,49 @@ (define-public rust-jsonrpc-core-18
 JSON-RPC 2.0 specification.")
     (license license:expat)))
 
+(define-public rust-jsonschema-0.26
+  (package
+    (name "rust-jsonschema")
+    (version "0.26.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jsonschema" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06yykqkfssbr144r94q93cbz04fc2m4fk3453mc26m2dqgq61a96"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;; use of undeclared crate or module `testsuite`
+       #:cargo-inputs
+       (("rust-ahash" ,rust-ahash-0.8)
+        ("rust-base64" ,rust-base64-0.22)
+        ("rust-bytecount" ,rust-bytecount-0.6)
+        ("rust-email-address" ,rust-email-address-0.2)
+        ("rust-fancy-regex" ,rust-fancy-regex-0.14)
+        ("rust-fraction" ,rust-fraction-0.15)
+        ("rust-idna" ,rust-idna-1)
+        ("rust-itoa" ,rust-itoa-1)
+        ("rust-num-cmp" ,rust-num-cmp-0.1)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-percent-encoding" ,rust-percent-encoding-2)
+        ("rust-referencing" ,rust-referencing-0.26)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.8)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-uuid-simd" ,rust-uuid-simd-0.8)
+        ("rust-reqwest" ,rust-reqwest-0.12))
+       #:cargo-development-inputs
+       (("rust-codspeed-criterion-compat" ,rust-codspeed-criterion-compat-2)
+        ("rust-criterion" ,rust-criterion-0.5)
+        ("rust-mockito" ,rust-mockito-1)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-test-case" ,rust-test-case-3))))
+    (home-page "https://github.com/Stranger6667/jsonschema")
+    (synopsis "JSON schema validaton library")
+    (description "A high-performance JSON Schema validator for Rust.")
+    (license license:expat)))
+
 (define-public rust-jsonwebtoken-9
   (package
     (name "rust-jsonwebtoken")
-- 
2.48.1