From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffO6N-0006Ga-Ap for guix-patches@gnu.org; Tue, 17 Jul 2018 07:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffO6K-0003pt-3r for guix-patches@gnu.org; Tue, 17 Jul 2018 07:25:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffO6J-0003ph-WC for guix-patches@gnu.org; Tue, 17 Jul 2018 07:25:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ffO6I-0005lq-FO for guix-patches@gnu.org; Tue, 17 Jul 2018 07:25:03 -0400 Subject: [bug#32186] [PATCH] gnu: Add emacs-rust-mode. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffO64-0006GA-Fc for guix-patches@gnu.org; Tue, 17 Jul 2018 07:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffO61-0003av-9n for guix-patches@gnu.org; Tue, 17 Jul 2018 07:24:48 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:30949) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffO60-0003a5-UC for guix-patches@gnu.org; Tue, 17 Jul 2018 07:24:45 -0400 From: Rouby Pierre-Antoine Date: Tue, 17 Jul 2018 13:24:38 +0200 Message-Id: <20180717112438.5228-1-pierre-antoine.rouby@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32186@debbugs.gnu.org Cc: Rouby Pierre-Antoine * gnu/packages/emacs.scm: New variable. --- gnu/packages/emacs.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index c6c7a1df4..68780aea8 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -11410,3 +11410,33 @@ siblings and friends. This visual overview can also be used to browse your entries. You can think of entries as nodes in a mind map, or pages in a wiki.") (license license:expat))) + +(define-public emacs-rust-mode + (let ((commit "64b4a2450e4d4c47f6307851c9b2598cd2254d68") + (revision "0")) + (package + (name "emacs-rust-mode") + (version (git-version "0.3.0" revision commit)) + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/rust-lang/rust-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pbz36lljgb7bdgx3h3g0pq1nss1kvn8mhk1l3mknsmynd6w4nd8")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "sh" "run_rust_emacs_tests.sh")))))) + (home-page "https://github.com/rust-lang/rust-mode") + (synopsis "Major Emacs mode for editing Rust source code") + (description + "This package provide major Emacs mode for editing Rust source code.") + (license (list license:expat + license:asl2.0))))) -- 2.17.1