From 6eb024ec2745df81c42a2f5c32ceb0f316902d9d Mon Sep 17 00:00:00 2001 From: aecepoglu Date: Fri, 14 May 2021 19:18:31 +0300 Subject: [PATCH] gnu: Add rust-emacs-macros-0.11. * gnu/packages/crates-io.scm (rust-emacs-macros-0.11): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6c59062e3d..ddee9def8b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14301,6 +14301,30 @@ 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-macros-0.11 + (package + (name "rust-emacs-macros") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "emacs-macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0390y8vafxdi334hhgrzvcqjq3n5ckcmvilqcfp8vajjq8irrly6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-darling" ,rust-darling-0.9) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)))) + (home-page "https://github.com/ubolonton/emacs-module-rs") + (synopsis "Proc macros for Emacs modules") + (description "This package provides proc macros for Emacs modules.") + (license license:bsd-3))) + (define-public rust-emacs-module-0.10 (package (name "rust-emacs-module")