Subject: [bug#71076] [PATCH 69/81] gnu: Add rust-ruma-state-res-0.11.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:59:14 +0200

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

Change-Id: I384dcb6edd3c4c6cf35359d39c3996232451cceb
---
 gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++++-------
 1 file changed, 37 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e3fb988546..85c6926277 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67177,8 +67177,42 @@ (define-public rust-ruma-signatures-0.14
 specification.")
     (license license:expat)))
 
+(define-public rust-ruma-state-res-0.11
+  (package
+    (name "rust-ruma-state-res")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-state-res" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1cayf9ki71yw4dfdsqnq5nal38v3i8mx9bh729g59mgw8gzxiz1c"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-criterion-0.5
+                           rust-itertools-0.12
+                           rust-js-int-0.2
+                           rust-ruma-common-0.13
+                           rust-ruma-events-0.28
+                           rust-serde-1
+                           rust-serde-json-1
+                           rust-thiserror-1
+                           rust-tracing-0.1)
+      #:cargo-development-inputs (list rust-maplit-1 rust-rand-0.8
+                                       rust-ruma-events-0.28
+                                       rust-tracing-subscriber-0.3)))
+    (home-page "https://ruma.dev/")
+    (synopsis "Abstraction for Matrix state resolution")
+    (description
+     "This package provides an abstraction of Matrix state resolution.")
+    (license license:expat)))
+
 (define-public rust-ruma-state-res-0.10
   (package
+    (inherit rust-ruma-state-res-0.11)
     (name "rust-ruma-state-res")
     (version "0.10.0")
     (source
@@ -67187,8 +67221,8 @@ (define-public rust-ruma-state-res-0.10
        (uri (crate-uri "ruma-state-res" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0hhfd4ca73bpnrfyr02k675cdc82x2yw0fah8w1s7jsm0wrb2v3q"))))
-    (build-system cargo-build-system)
+        (base32
+          "0hhfd4ca73bpnrfyr02k675cdc82x2yw0fah8w1s7jsm0wrb2v3q"))))
     (arguments
      `(#:cargo-inputs (("rust-criterion" ,rust-criterion-0.5)
                        ("rust-itertools" ,rust-itertools-0.11)
@@ -67203,12 +67237,7 @@ (define-public rust-ruma-state-res-0.10
        (("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)))
+        ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))))
 
 (define-public rust-run-script-0.10
   (package
-- 
2.41.0