all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#32186] [PATCH] gnu: Add emacs-rust-mode.
@ 2018-07-17 11:24 Rouby Pierre-Antoine
  2018-07-17 14:30 ` Kei Kebreau
  0 siblings, 1 reply; 6+ messages in thread
From: Rouby Pierre-Antoine @ 2018-07-17 11:24 UTC (permalink / raw)
  To: 32186; +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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-07-19  9:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-17 11:24 [bug#32186] [PATCH] gnu: Add emacs-rust-mode Rouby Pierre-Antoine
2018-07-17 14:30 ` Kei Kebreau
2018-07-18  8:01   ` Pierre-Antoine Rouby
2018-07-18  9:39   ` Rouby Pierre-Antoine
2018-07-18 15:43     ` Kei Kebreau
2018-07-19  9:28       ` bug#32186: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.