[bug#75677,rust-team,v2,71/81] gnu: rust-jsonschema-0.28: New variable.

Message ID 20250308033446.2101481-72-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-jsonschema-0.28): New variable.
---
 gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++----
 1 file changed, 45 insertions(+), 5 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c6844da85..46fe13037e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38176,17 +38176,17 @@  (define-public rust-jsonrpc-core-18
 JSON-RPC 2.0 specification.")
     (license license:expat)))
 
-(define-public rust-jsonschema-0.26
+(define-public rust-jsonschema-0.28
   (package
     (name "rust-jsonschema")
-    (version "0.26.2")
+    (version "0.28.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "jsonschema" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "06yykqkfssbr144r94q93cbz04fc2m4fk3453mc26m2dqgq61a96"))))
+        (base32 "13qr0c2l0dcbvr67rr6l5724jww0mc3br364wypxgb5nxgwkwc62"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f ;; use of undeclared crate or module `testsuite`
@@ -38202,7 +38202,7 @@  (define-public rust-jsonschema-0.26
         ("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-referencing" ,rust-referencing-0.28)
         ("rust-regex-syntax" ,rust-regex-syntax-0.8)
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-json" ,rust-serde-json-1)
@@ -38216,9 +38216,49 @@  (define-public rust-jsonschema-0.26
         ("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.")
+    (description
+     "A high-performance JSON Schema validator for Rust.")
     (license license:expat)))
 
+(define-public rust-jsonschema-0.26
+  (package
+    (inherit rust-jsonschema-0.28)
+    (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"))))
+    (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))))))
+
 (define-public rust-jsonwebtoken-9
   (package
     (name "rust-jsonwebtoken")