Subject: [PATCH 8/9] gnu: Add rust-emacs-0.11.

From: aecepoglu <[email-masked]>
Date: Fri, 14 May 2021 19:18:39 +0300

* gnu/packages/crates-io.scm (rust-emacs-0.11): 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 6f0558aa61..0e702bc152 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12759,6 +12759,37 @@ signing, and verification in pure Rust.")
 @code{Right} is a general purpose sum type with two cases.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-emacs-0.11
+  (package
+    (name "rust-emacs")
+    (version "0.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "emacs" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1xn6nr8m3p24irlmv3i7c9n95yb10qc6aikwqv99qlmhbky5x0z7"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-ctor" ,rust-ctor-0.1)
+         ("rust-emacs-macros" ,rust-emacs-macros-0.11)
+         ("rust-emacs-module" ,rust-emacs-module-0.10)
+         ("rust-failure" ,rust-failure-0.1)
+         ("rust-failure-derive" ,rust-failure-derive-0.1)
+         ("rust-lazy-static" ,rust-lazy-static-1))))
+    (home-page
+      "https://github.com/ubolonton/emacs-module-rs")
+    (synopsis
+      "Library for creating Emacs's dynamic modules")
+    (description
+      "This crate provides a high level binding to emacs-module:
+ Emacs' support for dynamic modules.")
+    (license license:bsd-3)))
+
 (define-public rust-emacs-macros-0.11
   (package
     (name "rust-emacs-macros")
-- 
2.31.1