Subject: [bug#69257] [PATCH rust-team v2 051/117] gnu: Add rust-ruma-0.9.

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

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

Change-Id: I98145b8b8b711d0ef4c8abdd914f718da9c90609
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5a77e83a43..61a8b15983 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64401,6 +64401,44 @@ (define-public rust-rug-1
 floating-point, and complex numbers based on GMP, MPFR and MPC.")
     (license license:lgpl3+)))
 
+(define-public rust-ruma-0.9
+  (package
+    (name "rust-ruma")
+    (version "0.9.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0dksah6cwdini5ln930plz8x01zv1qqdjnb28xilr5kjy26w6y97"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-assign" ,rust-assign-1)
+        ("rust-js-int" ,rust-js-int-0.2)
+        ("rust-js-option" ,rust-js-option-0.1)
+        ("rust-ruma-appservice-api" ,rust-ruma-appservice-api-0.9)
+        ("rust-ruma-client" ,rust-ruma-client-0.12)
+        ("rust-ruma-client-api" ,rust-ruma-client-api-0.17)
+        ("rust-ruma-common" ,rust-ruma-common-0.12)
+        ("rust-ruma-events" ,rust-ruma-events-0.27)
+        ("rust-ruma-federation-api" ,rust-ruma-federation-api-0.8)
+        ("rust-ruma-html" ,rust-ruma-html-0.1)
+        ("rust-ruma-identity-service-api"
+         ,rust-ruma-identity-service-api-0.8)
+        ("rust-ruma-push-gateway-api" ,rust-ruma-push-gateway-api-0.8)
+        ("rust-ruma-server-util" ,rust-ruma-server-util-0.2)
+        ("rust-ruma-signatures" ,rust-ruma-signatures-0.14)
+        ("rust-ruma-state-res" ,rust-ruma-state-res-0.10))
+       #:cargo-development-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://ruma.io/")
+    (synopsis "Types and traits for working with the Matrix protocol")
+    (description
+      "This package provides types and traits for working with the Matrix
+protocol.")
+    (license license:expat)))
+
 (define-public rust-ruma-appservice-api-0.9
   (package
     (name "rust-ruma-appservice-api")
-- 
2.41.0