Subject: [PATCH 72/81] gnu: Add rust-ruma-push-gateway-api-0.9.

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

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

Change-Id: I0e148d3c358c62c26b56098184daf304ffec11eb
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f570ef62d7..38f5e080b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67095,8 +67095,34 @@ (define-public rust-ruma-macros-0.12
                        ("rust-syn" ,rust-syn-2)
                        ("rust-toml" ,rust-toml-0.8))))))
 
+(define-public rust-ruma-push-gateway-api-0.9
+  (package
+    (name "rust-ruma-push-gateway-api")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-push-gateway-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1hifcs47xm70x63y050prms4q0zrfyjlw01d8322dd6sxmigabml"))))
+    (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)))
+    (home-page "https://ruma.dev/")
+    (synopsis "Types for Matrix push gateway API endpoints")
+    (description
+      "This package provides types for the endpoints in the Matrix push
+gateway API.")
+    (license license:expat)))
+
 (define-public rust-ruma-push-gateway-api-0.8
   (package
+    (inherit rust-ruma-push-gateway-api-0.9)
     (name "rust-ruma-push-gateway-api")
     (version "0.8.0")
     (source
@@ -67106,18 +67132,12 @@ (define-public rust-ruma-push-gateway-api-0.8
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0ss8fylz548ygqa7p91fwdp3whf7yc51c52h7gwl6naa9mf08hzk"))))
-    (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-ruma-events" ,rust-ruma-events-0.27)
                        ("rust-serde" ,rust-serde-1)
-                       ("rust-serde-json" ,rust-serde-json-1))))
-    (home-page "https://www.ruma.io/")
-    (synopsis "Types for Matrix push gateway API endpoints")
-    (description "This package provides types for the endpoints in the
-Matrix push gateway API.")
-    (license license:expat)))
+                       ("rust-serde-json" ,rust-serde-json-1))))))
 
 (define-public rust-ruma-server-util-0.3
   (package
-- 
2.41.0