Subject: [PATCH 73/81] gnu: Add rust-ruma-identity-service-api-0.9.

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

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

Change-Id: I0613c73a4877984a535c5c64434c191822e72351
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 38f5e080b4..0eb3df1268 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67020,8 +67020,33 @@ (define-public rust-ruma-identifiers-validation-0.9
 and ruma-macros.")
     (license license:expat)))
 
+(define-public rust-ruma-identity-service-api-0.9
+  (package
+    (name "rust-ruma-identity-service-api")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-identity-service-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "0g9b2ygf95ffx147xhqsd1k7vgzz8f8yj3254a5ca27hi3dr3jxw"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-js-int-0.2 rust-ruma-common-0.13 rust-serde-1)
+      #:cargo-development-inputs (list rust-serde-json-1)))
+    (home-page "https://ruma.dev/")
+    (synopsis "Types for Matrix identity service API endpoints.")
+    (description
+      "This package provides types for the endpoints in the Matrix
+identity service API.")
+    (license license:expat)))
+
 (define-public rust-ruma-identity-service-api-0.8
   (package
+    (inherit rust-ruma-identity-service-api-0.9)
     (name "rust-ruma-identity-service-api")
     (version "0.8.0")
     (source
@@ -67031,17 +67056,11 @@ (define-public rust-ruma-identity-service-api-0.8
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1wh9qlzlqhlmirki6i0bffp7f9d6n2jdfv26crj24xsvl02a2zgi"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-js-int" ,rust-js-int-0.2)
                        ("rust-ruma-common" ,rust-ruma-common-0.12)
                        ("rust-serde" ,rust-serde-1))
-       #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
-    (home-page "https://www.ruma.io/")
-    (synopsis "Types for Matrix identity service API endpoints.")
-    (description "This package provides types for the endpoints in the
-Matrix identity service API.")
-    (license license:expat)))
+       #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))))
 
 (define-public rust-ruma-macros-0.13
   (package
-- 
2.41.0