guix-patches
[Top][All Lists]
Advanced

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

[bug#71076] [PATCH 61/81] gnu: Add rust-ruma-common-0.13.


From: Herman Rimm
Subject: [bug#71076] [PATCH 61/81] gnu: Add rust-ruma-common-0.13.
Date: Mon, 20 May 2024 10:59:06 +0200

* gnu/packages/crates-io.scm (rust-ruma-common-0.13): Add variable.
(rust-ruma-common-0.12): Inherit from rust-ruma-common-0.13.

Change-Id: I80bd4727a7cf5349f1a28ad89a44f37e636f17c5
---
 gnu/packages/crates-io.scm | 57 ++++++++++++++++++++++++++++++++++----
 1 file changed, 51 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 73e1b2a0b7..0e2fb8c530 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66649,8 +66649,58 @@ (define-public rust-ruma-client-api-0.17
 client-server API.")
     (license license:expat)))
 
+(define-public rust-ruma-common-0.13
+  (package
+    (name "rust-ruma-common")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ruma-common" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yzvh8cn1bpvb5vh7hrp7xax4qawmrb83zk21v0qvascrh1p5a9b"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-as-variant-1
+                           rust-base64-0.22
+                           rust-bytes-1
+                           rust-form-urlencoded-1
+                           rust-getrandom-0.2
+                           rust-http-1
+                           rust-indexmap-2
+                           rust-js-sys-0.3
+                           rust-js-int-0.2
+                           rust-konst-0.3
+                           rust-percent-encoding-2
+                           rust-rand-0.8
+                           rust-regex-1
+                           rust-ruma-identifiers-validation-0.9
+                           rust-ruma-macros-0.13
+                           rust-serde-1
+                           rust-serde-html-form-0.2
+                           rust-serde-json-1
+                           rust-thiserror-1
+                           rust-time-0.3
+                           rust-tracing-0.1
+                           rust-url-2
+                           rust-uuid-1
+                           rust-web-time-1
+                           rust-wildmatch-2)
+      #:cargo-development-inputs (list rust-assert-matches2-0.1
+                                       rust-assign-1
+                                       rust-maplit-1
+                                       rust-trybuild-1)))
+    (home-page "https://ruma.dev/";)
+    (synopsis "Common types for other ruma crates")
+    (description
+      "This package provides common types for other ruma crates.")
+    (license license:expat)))
+
 (define-public rust-ruma-common-0.12
   (package
+    (inherit rust-ruma-common-0.13)
     (name "rust-ruma-common")
     (version "0.12.1")
     (source
@@ -66696,12 +66746,7 @@ (define-public rust-ruma-common-0.12
        (modify-phases %standard-phases
          (add-before 'check 'ignore-broken-test
            (lambda _
-             (setenv "TRYBUILD" "overwrite"))))))
-    (home-page "https://ruma.io/";)
-    (synopsis "Common types for other ruma crates")
-    (description "This package provides common types for other ruma
-crates.")
-    (license license:expat)))
+             (setenv "TRYBUILD" "overwrite"))))))))
 
 (define-public rust-ruma-events-0.27
   (package
-- 
2.41.0






reply via email to

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