Subject: bug#40303: closed (Re: [bug#40303] [PATCH] gnu: Add emacs-flycheck-rust.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 30 Mar 2020 17:14:02 +0000

Your bug report

#40303: [PATCH] gnu: Add emacs-flycheck-rust.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40303
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#40303] [PATCH] gnu: Add emacs-flycheck-rust.
From: Nicolas Goaziou <[email-masked]>
To: John Soo <[email-masked]>
Cc: [email-masked]
Date: Mon, 30 Mar 2020 19:13:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

John Soo <[email-masked]> writes:

> Subject: [PATCH] gnu: Add emacs-flycheck-rust.
>
> * gnu/packages/emacs-xyz.scm (emacs-flycheck-rust): New variable.

I made a full sentence out of the description, removed "emac-seq"
dependency and pushed your patch as
5199be620f2a8f42fd5427ad000f8f215a852426.

I didn't activate the tests because those require "cargo" executable to
be available, which was, IMO, too much of a native input.

Thank you!

Regards,

-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-flycheck-rust.
From: John Soo <[email-masked]>
To: [email-masked]
Date: Sat, 28 Mar 2020 18:17:24 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,

flycheck-rust provides flycheck integration for rust.

Thanks!

John

>>From 8f65e7352b60cbdeab63697e638d7295c7d9360f Mon Sep 17 00:00:00 2001
From: John Soo <[email-masked]>
Date: Tue, 24 Mar 2020 08:26:13 -0700
Subject: [PATCH] gnu: Add emacs-flycheck-rust.

* gnu/packages/emacs-xyz.scm (emacs-flycheck-rust): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9d40b8019e..38157f4432 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -65,6 +65,7 @@
 ;;; Copyright © 2020 Michael Rohleder <[email-masked]>
 ;;; Copyright © 2020 Brice Waegeneire <[email-masked]>
 ;;; Copyright © 2020 6033fe7de85d <[email-masked]>
+;;; Copyright © 2020 John Soo <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21776,3 +21777,30 @@ enables modal editing and composition of commands, too.  It combines ideas of
 other Editors like Vim or Kakoune and tries to align them with regular Emacs
 conventions.")
     (license license:gpl3+)))
+
+(define-public emacs-flycheck-rust
+  (package
+    (name "emacs-flycheck-rust")
+    (version "1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/flycheck/flycheck-rust")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1fh6j5w2387nh2fwwjphkhq17cgj5m2q5k0fhidvgc2w65lzbr1r"))))
+    (inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-flycheck" ,emacs-flycheck)
+       ("emacs-let-alist" ,emacs-let-alist)
+       ("emacs-seq" ,emacs-seq)))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/flycheck/flycheck-rust")
+    (synopsis "Better Rust/Cargo support for Flycheck")
+    (description
+     "Configures Flycheck automatically for the current Cargo project.")
+    (license license:gpl3+)))
-- 
2.26.0