Subject: [PATCH 80/81] gnu: Add rust-ruma-appservice-api-0.10.

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

* gnu/packages/crates-io.scm (rust-ruma-appservice-api-0.10): Add
variable.
(rust-ruma-appservice-api-0.9): Inherit from
rust-ruma-appservice-api-0.10.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a314230194..61988aea49 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66665,8 +66665,37 @@ (define-public rust-ruma-0.9
 protocol.")
     (license license:expat)))
 
+(define-public rust-ruma-appservice-api-0.10
+  (package
+    (name "rust-ruma-appservice-api")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-appservice-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sqhd5a2w0ry8s9jkd62iicsg7xfj38yaclvm5zs5ynnf5s7zpnf"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-js-int-0.2
+                           rust-ruma-common-0.13
+                           rust-ruma-events-0.28
+                           rust-serde-1
+                           rust-serde-json-1)
+      #:cargo-development-inputs (list rust-assert-matches2-0.1
+                                       rust-serde-yaml-0.9)))
+    (home-page "https://ruma.dev/")
+    (synopsis "Types for Matrix application service API endpoints")
+    (description
+     "This package provides types for the endpoints in the Matrix
+application service API.")
+    (license license:expat)))
+
 (define-public rust-ruma-appservice-api-0.9
   (package
+    (inherit rust-ruma-appservice-api-0.10)
     (name "rust-ruma-appservice-api")
     (version "0.9.0")
     (source
@@ -66676,7 +66705,6 @@ (define-public rust-ruma-appservice-api-0.9
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1xabivmgklm7qav1ja84b92pq7fxy4h344zhk25bhgbb4j3zi3y2"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-js-int" ,rust-js-int-0.2)
                        ("rust-ruma-common" ,rust-ruma-common-0.12)
@@ -66685,13 +66713,7 @@ (define-public rust-ruma-appservice-api-0.9
                        ("rust-serde-json" ,rust-serde-json-1))
        #:cargo-development-inputs
        (("rust-assert-matches2" ,rust-assert-matches2-0.1)
-        ("rust-serde-yaml" ,rust-serde-yaml-0.9))))
-    (home-page "https://www.ruma.io/")
-    (synopsis "Types for Matrix application service API endpoints")
-    (description
-     "This package provides types for the endpoints in the Matrix
-application service API.")
-    (license license:expat)))
+        ("rust-serde-yaml" ,rust-serde-yaml-0.9))))))
 
 (define-public rust-ruma-client-0.13
   (package
-- 
2.41.0