Subject: [bug#44492] [PATCH 03/52] gnu: Add rust-ruma-identifiers-0.17.

From: Leo Prikler <[email-masked]>
Date: Wed, 24 Feb 2021 12:10:46 +0100

* gnu/packages/crates-io.scm (rust-ruma-identifiers-0.17): New variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f15ea4be4..a51bedb3f0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32655,6 +32655,39 @@ console applications.")
         (base32
          "1v255xqkig5lwnczvm3achydhxx6kf9jcdxdlgzndgpd18bp6x6k"))))))
 
+(define-public rust-ruma-identifiers-0.17
+  (package
+    (name "rust-ruma-identifiers")
+    (version "0.17.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "ruma-identifiers" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1vjxws5yw1c8lmwc5p036319vwwna1sxb7pkl6lw1pl8rwp0j5sr"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-either" ,rust-either-1)
+         ("rust-rand" ,rust-rand-0.7)
+         ("rust-ruma-identifiers-macros"
+          ,rust-ruma-identifiers-macros-0.17)
+         ("rust-ruma-identifiers-validation"
+          ,rust-ruma-identifiers-validation-0.1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-strum" ,rust-strum-0.18))
+        #:cargo-development-inputs
+        (("rust-matches" ,rust-matches-0.1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://www.ruma.io/")
+    (synopsis "Resource identifiers for Matrix.")
+    (description "Resource identifiers for Matrix.")
+    (license license:expat)))
+
 (define-public rust-ruma-identifiers-macros-0.17
   (package
     (name "rust-ruma-identifiers-macros")
-- 
2.30.1