summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-05-14 19:18:39 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-07-11 11:08:17 +0300
commit9373e358a52b656ec838e84b059a6ec7851d2cc1 (patch)
tree015fb367da4a6db93e379e0e6b544f5b9f0bb83f /gnu/packages/crates-io.scm
parent6eb024ec2745df81c42a2f5c32ceb0f316902d9d (diff)
gnu: Add rust-emacs-0.11.
* gnu/packages/crates-io.scm (rust-emacs-0.11): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ddee9def8b..b97ef478a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14301,6 +14301,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))))
+ (inputs
+ `(("clang" ,clang)))
+ (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")