Subject: [bug#69257] [PATCH rust-team v2 050/117] gnu: Add rust-ruma-state-res-0.10.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:55:16 +0200

* gnu/packages/crates-io.scm (rust-ruma-state-res-0.10): Add variable.

Change-Id: Id0b1b2f855746500fe24c4cf4c543370baea05e0
---
 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 1c64ac0f1a..5a77e83a43 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64806,6 +64806,39 @@ (define-public rust-ruma-signatures-0.14
 specification.")
     (license license:expat)))
 
+(define-public rust-ruma-state-res-0.10
+  (package
+    (name "rust-ruma-state-res")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-state-res" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hhfd4ca73bpnrfyr02k675cdc82x2yw0fah8w1s7jsm0wrb2v3q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-criterion" ,rust-criterion-0.5)
+                       ("rust-itertools" ,rust-itertools-0.11)
+                       ("rust-js-int" ,rust-js-int-0.2)
+                       ("rust-ruma-common" ,rust-ruma-common-0.12)
+                       ("rust-ruma-events" ,rust-ruma-events-0.27)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tracing" ,rust-tracing-0.1))
+       #:cargo-development-inputs
+       (("rust-maplit" ,rust-maplit-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-ruma-events" ,rust-ruma-events-0.27)
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+    (home-page "https://www.ruma.io/")
+    (synopsis "Abstraction for Matrix state resolution")
+    (description "This package provides an abstraction for Matrix state
+resolution.")
+    (license license:expat)))
+
 (define-public rust-run-script-0.10
   (package
     (name "rust-run-script")
-- 
2.41.0