Subject: [bug#69257] [PATCH rust-team v2 048/117] gnu: Add rust-ruma-client-api-0.17.

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

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

Change-Id: I9c9029de0084f2adbf2990e37dbfdcf1c1824be1
---
 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 bde99c9bd9..2934bb46cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64429,6 +64429,39 @@ (define-public rust-ruma-appservice-api-0.9
 application service API.")
     (license license:expat)))
 
+(define-public rust-ruma-client-api-0.17
+  (package
+    (name "rust-ruma-client-api")
+    (version "0.17.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-client-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11ik20rnm1c1a3cdbqg8dayd7xgh9sai8xa74c4af552iwjkf634"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-assign" ,rust-assign-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-js-int" ,rust-js-int-0.2)
+                       ("rust-js-option" ,rust-js-option-0.1)
+                       ("rust-maplit" ,rust-maplit-1)
+                       ("rust-ruma-common" ,rust-ruma-common-0.12)
+                       ("rust-ruma-events" ,rust-ruma-events-0.27)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-html-form" ,rust-serde-html-form-0.2)
+                       ("rust-serde-json" ,rust-serde-json-1))
+       #:cargo-development-inputs
+       (("rust-assert-matches2" ,rust-assert-matches2-0.1))))
+    (home-page "https://ruma.io/")
+    (synopsis "Types for Matrix client-server API endpoints.")
+    (description
+      "This package provides types for the endpoints in the Matrix
+client-server API.")
+    (license license:expat)))
+
 (define-public rust-ruma-common-0.12
   (package
     (name "rust-ruma-common")
-- 
2.41.0