Subject: [PATCH 03/22] gnu: Add rust-jsonrpc-core-14.

From: aecepoglu <[email-masked]>
Date: Sun, 31 Jan 2021 01:42:30 +0300

* gnu/packages/crates-io.scm (rust-jsonrpc-core-14): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2666efd981..6988b999b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17039,6 +17039,37 @@ the jni-bindgen code generator for binding to JVM APIs from Rust.")
      "An implementation of the GNU make jobserver for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-jsonrpc-core-14
+  (package
+    (name "rust-jsonrpc-core")
+    (version "14.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "jsonrpc-core" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1v3zidsjjd5d8msl2644ljjjgxs71fdahrsipggb93rk09h5yli5"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-futures" ,rust-futures-0.1)
+         ("rust-log" ,rust-log-0.4)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page
+      "https://github.com/paritytech/jsonrpc")
+    (synopsis
+      "Transport agnostic rust implementation of JSON-RPC 2.0 Specification.")
+    (description
+      "This is the Rust implementation of JSON-RPC 2.0 spec.
+ It has a transport-agnostic @code{core} and transport servers for http, ipc,
+ websockets and tcp")
+    (license license:expat)))
+
 (define-public rust-js-sys-0.3
   (package
     (name "rust-js-sys")
-- 
2.30.0