guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71076] [PATCH 68/81] gnu: Add rust-ruma-events-0.28.


From: Herman Rimm
Subject: [bug#71076] [PATCH 68/81] gnu: Add rust-ruma-events-0.28.
Date: Mon, 20 May 2024 10:59:13 +0200

* gnu/packages/crates-io.scm (rust-ruma-events-0.28): Add variable.
(rust-ruma-events-0.27): Inherit from rust-ruma-events-0.28.

Change-Id: If5549aa7e42d2955682c9f576addc1de9aae073e
---
 gnu/packages/crates-io.scm | 54 +++++++++++++++++++++++++++++++++-----
 1 file changed, 47 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 855d9f62c1..e3fb988546 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66840,8 +66840,54 @@ (define-public rust-ruma-common-0.12
            (lambda _
              (setenv "TRYBUILD" "overwrite"))))))))
 
+(define-public rust-ruma-events-0.28
+  (package
+    (name "rust-ruma-events")
+    (version "0.28.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-events" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1qq2f68wyrzga99sxcjnn0bpph5q7x3shl38040fbbhgr9gg3ppx"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-as-variant-1
+                           rust-criterion-0.5
+                           rust-indexmap-2
+                           rust-js-int-0.2
+                           rust-js-option-0.1
+                           rust-percent-encoding-2
+                           rust-pulldown-cmark-0.10
+                           rust-regex-1
+                           rust-ruma-common-0.13
+                           rust-ruma-html-0.2
+                           rust-ruma-identifiers-validation-0.9
+                           rust-ruma-macros-0.13
+                           rust-serde-1
+                           rust-serde-json-1
+                           rust-thiserror-1
+                           rust-tracing-0.1
+                           rust-url-2
+                           rust-wildmatch-2)
+      #:cargo-development-inputs (list rust-assert-matches2-0.1
+                                       rust-assign-1
+                                       rust-http-1
+                                       rust-maplit-1
+                                       rust-trybuild-1)))
+    (home-page "https://ruma.dev/";)
+    (synopsis "Serializable types for Matrix specification events")
+    (description
+     "This package provides Serializable types for the events in the
+Matrix specification.")
+    (license license:expat)))
+
 (define-public rust-ruma-events-0.27
   (package
+    (inherit rust-ruma-events-0.28)
     (name "rust-ruma-events")
     (version "0.27.11")
     (source
@@ -66878,13 +66924,7 @@ (define-public rust-ruma-events-0.27
         ("rust-assign" ,rust-assign-1)
         ("rust-http" ,rust-http-0.2)
         ("rust-maplit" ,rust-maplit-1)
-        ("rust-trybuild" ,rust-trybuild-1))))
-    (home-page "https://ruma.io/";)
-    (synopsis "Serializable types for events in the Matrix specification")
-    (description
-     "This package provides serializable types for the events in the
-Matrix specification.")
-    (license license:expat)))
+        ("rust-trybuild" ,rust-trybuild-1))))))
 
 (define-public rust-ruma-federation-api-0.8
   (package
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]