Subject: [bug#46192] [PATCH 18/21] gnu: Add rust-rmp-0.8.

From: aecepoglu <[email-masked]>
Date: Thu, 4 Feb 2021 14:38:57 +0300

* gnu/packages/crates-io.scm (rust-rmp-0.8): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d2cb427a6f..08b6406ee9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28938,6 +28938,36 @@ Rust Language Server.")
     (description "This package provides a typed key-value storage solution.")
     (license license:asl2.0)))
 
+(define-public rust-rmp-0.8
+  (package
+    (name "rust-rmp")
+    (version "0.8.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rmp" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0kqqq0m4bg1p1rsahbxqlhi0cb65qbxx595sqwdfxwacy5nv840g"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-byteorder" ,rust-byteorder-1)
+         ("rust-num-traits" ,rust-num-traits-0.2))))
+    (home-page "https://github.com/3Hren/msgpack-rust")
+    (synopsis
+      "Pure Rust MessagePack serialization implementation")
+    (description
+      "RMP is a pure Rust MessagePack implementation of an efficient binary
+ serialization format.
+ This crate provides low-level core functionality, writers and readers for
+ primitive values with direct mapping between binary MessagePack format.")
+    (license license:expat)))
+
 (define-public rust-ron-0.5
   (package
     (name "rust-ron")
-- 
2.30.0