From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54639) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkHe-00037O-Mr for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIkHd-0003J0-B0 for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIkHd-0003Ig-5h for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIkHd-0004dL-3g for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:13 -0400 Subject: [bug#40303] [PATCH] gnu: Add emacs-flycheck-rust. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53224) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIMZt-0007wl-HF for guix-patches@gnu.org; Sat, 28 Mar 2020 21:17:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIMZr-0001WE-Mn for guix-patches@gnu.org; Sat, 28 Mar 2020 21:17:29 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:40684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIMZr-0001VY-Ak for guix-patches@gnu.org; Sat, 28 Mar 2020 21:17:27 -0400 Received: by mail-pf1-x432.google.com with SMTP id c20so4132863pfi.7 for ; Sat, 28 Mar 2020 18:17:26 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::6c3]) by smtp.gmail.com with ESMTPSA id w29sm2682394pge.25.2020.03.28.18.17.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Mar 2020 18:17:25 -0700 (PDT) From: John Soo Date: Sat, 28 Mar 2020 18:17:24 -0700 Message-ID: <87blog2c4b.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 40303@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix, flycheck-rust provides flycheck integration for rust. Thanks! John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-flycheck-rust.patch Content-Transfer-Encoding: quoted-printable Content-Description: add emacs-flycheck-rust >>From 8f65e7352b60cbdeab63697e638d7295c7d9360f Mon Sep 17 00:00:00 2001 From: John Soo 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 =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 6033fe7de85d <6033fe7de85d@airmail.cc> +;;; Copyright =C2=A9 2020 John Soo ;;; ;;; 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 Ema= cs 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+))) --=20 2.26.0 --=-=-=--