emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32186: closed ([PATCH] gnu: Add emacs-rust-mode.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32186: closed ([PATCH] gnu: Add emacs-rust-mode.)
Date: Thu, 19 Jul 2018 09:30:01 +0000

Your message dated Thu, 19 Jul 2018 11:28:54 +0200
with message-id <address@hidden>
and subject line Re: [bug#32186] [PATCH] gnu: Add emacs-rust-mode.
has caused the debbugs.gnu.org bug report #32186,
regarding [PATCH] gnu: Add emacs-rust-mode.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32186: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32186
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-rust-mode. Date: Tue, 17 Jul 2018 13:24:38 +0200
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#32186] [PATCH] gnu: Add emacs-rust-mode. Date: Thu, 19 Jul 2018 11:28:54 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Kei Kebreau <address@hidden> skribis:

> Rouby Pierre-Antoine <address@hidden> writes:
>
>> * gnu/packages/emacs.scm (emacs-rust-mode): New variable.
>> ---
>>  gnu/packages/emacs.scm | 34 ++++++++++++++++++++++++++++++++++
>>  1 file changed, 34 insertions(+)
>>
>> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
>> index aae634146..f044aa2a2 100644
>> --- a/gnu/packages/emacs.scm
>> +++ b/gnu/packages/emacs.scm
>> @@ -37,6 +37,7 @@
>>  ;;; Copyright © 2018 Pierre Neidhardt <address@hidden>
>>  ;;; Copyright © 2018 Tim Gesthuizen <address@hidden>
>>  ;;; Copyright © 2018 Jack Hill <address@hidden>
>> +;;; Copyright © 2018 Pierre-Antoine Rouby <address@hidden>
>>  ;;;
>>  ;;; This file is part of GNU Guix.
>>  ;;;
>> @@ -11519,3 +11520,36 @@ and 'text viewing modes' respectively.")
>>      (description "This package provides an Emacs major mode for editing 
>> AsciiDoc
>>  files.  It focuses on highlighting the document to improve readability.")
>>      (license license:gpl2+)))
>> +
>> +(define-public emacs-rust-mode
>> +  (let ((commit
>> +         ;; Last release are old (2016), use more recent commit to get bug
>> +         ;; fixes.
>> +         "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 a major Emacs mode for editing Rust
>> +source code.")
>> +      (license (list license:expat
>> +                     license:asl2.0)))))
>
> Thanks for the patch! Pushed to master as
> 661e8a62f700f9bead5f40fd6e45bdf5091a462d.

And closed now, thanks.  :-)

Ludo'.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]