GNU bug report logs - #40429
[PATCH] gnu: Add emacs-flymake-shellcheck.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: "LaFreniere, Joseph" <joseph@HIDDEN>; Keywords: patch; dated Sat, 4 Apr 2020 15:36:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Apr 2020 15:35:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 04 11:35:28 2020
Received: from localhost ([127.0.0.1]:44595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jKkpU-00033Z-Fr
	for submit <at> debbugs.gnu.org; Sat, 04 Apr 2020 11:35:28 -0400
Received: from lists.gnu.org ([209.51.188.17]:60612)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1jKkpS-00033J-3I
 for submit <at> debbugs.gnu.org; Sat, 04 Apr 2020 11:35:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46511)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <joseph@HIDDEN>) id 1jKkpQ-0004v6-LG
 for guix-patches@HIDDEN; Sat, 04 Apr 2020 11:35:25 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <joseph@HIDDEN>) id 1jKkpP-0003c6-4H
 for guix-patches@HIDDEN; Sat, 04 Apr 2020 11:35:24 -0400
Received: from mx.kolabnow.com ([95.128.36.41]:40862)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <joseph@HIDDEN>) id 1jKkpO-0003bI-KM
 for guix-patches@HIDDEN; Sat, 04 Apr 2020 11:35:23 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 4475052B
 for <guix-patches@HIDDEN>; Sat,  4 Apr 2020 17:35:19 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h=
 content-type:content-type:mime-version:message-id:date:date
 :subject:subject:from:from:received:received:received; s=
 dkim20160331; t=1586014518; x=1587828919; bh=r1Z5Nv58l/GSafeLB9Q
 mYx9jEIzphsGZyWV2WPJHPTk=; b=irVWcjtFhVCP6aoi6MZwjdJ0sE7EnNLyFTs
 bRNnKh8XIX3UYcYHp4boEW757tdl9DfhUzwg394uIPTd3SINCz2cX5jgZnef31nY
 aegozsoLp9q90xSTGFlvYYDMkSt0Yghnyk5sjx8tvCXynkosElGbdTMiQq4CpW9T
 lECy1ioscYKmxhayPPPPKu86i6NeI2mtnBCKDIIXQnnm1vEKRma8v0SDEbZ+AGyv
 7hE+B7WPac1t7rPZN5QiDktwTTBjAsQb6DX1XRKQelc9gQO7cdzDgYSVEgk7L2jK
 K/iEOGuh7njtpWxEhlMYTWEhoNBGpord//++mgW6vkttZBzVkqoGownJ4d3BZQix
 jICaBa8MfzboHqjWYCjPsNfS7N0AcemDqTsq5Cjv+FjfGml4YfOP/cG0osMHXSiH
 mjtjhPULERekg4ZQ9JrnpiEseLxVPvpSXYtdyFDp5j0wXrtfkm8N1+5fXL6z5zHE
 2P4VbnhKEVw77VH6NQc8T3Fewt4A0w2hm3uEbRldAXQavpX28HlJf890zWY/jEGv
 w+x3EWPLYxFihsVMUKY9kLyO/DlUDzFzGbelyo1tcsuir0ToBJXYTww8+agGXAEg
 VblmRgXbNi66Gcijkf0NUD8uMlgwgsqKKfsceL8lWtUFrVrRuS0U/iTyJszNFqVc
 33+7xivk=
X-Virus-Scanned: amavisd-new at mykolab.com
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id yr1G7yL96lkB for <guix-patches@HIDDEN>;
 Sat,  4 Apr 2020 17:35:18 +0200 (CEST)
Received: from int-mx003.mykolab.com (unknown [10.9.13.3])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 8F2F94A3
 for <guix-patches@HIDDEN>; Sat,  4 Apr 2020 17:35:18 +0200 (CEST)
Received: from ext-subm002.mykolab.com (unknown [10.9.6.2])
 by int-mx003.mykolab.com (Postfix) with ESMTPS id 46EE32033
 for <guix-patches@HIDDEN>; Sat,  4 Apr 2020 17:35:18 +0200 (CEST)
From: "LaFreniere, Joseph" <joseph@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add emacs-flymake-shellcheck.
Date: Sat, 04 Apr 2020 10:35:13 -0500
Message-ID: <87o8s7p8lq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 95.128.36.41
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Patch file is attached. -- Joseph LaFreniere From
 53688eb572a104972eadd2d0d8568452e41b2f70
 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere <joseph@HIDDEN>
 Date: Sat,
 4 Apr 2020 09:50:56 -0500 Subject: [PATCH] gnu: Add emacs-flymake-shel
 [...] Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: kolabnow.com]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [209.51.188.17 listed in list.dnswl.org]
 0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;
 id=joseph%40lafreniere.xyz; ip=209.51.188.17; r=debbugs.gnu.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 1.3 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: lafreniere.xyz (xyz)]
 0.9 FROM_SUSPICIOUS_NTLD_FP From abused NTLD
 0.3 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.9 (/)

--=-=-=
Content-Type: text/plain; format=flowed

Patch file is attached.

--
Joseph LaFreniere

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-gnu-Add-emacs-flymake-shellcheck.patch

From 53688eb572a104972eadd2d0d8568452e41b2f70 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@HIDDEN>
Date: Sat, 4 Apr 2020 09:50:56 -0500
Subject: [PATCH] gnu: Add emacs-flymake-shellcheck.

* gnu/packages/emacs-xyz.scm (emacs-flymake-shellcheck): New variable.
---
 gnu/packages/emacs-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cd2562103c..eb62bc578b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -163,6 +163,7 @@
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages video)
+  #:use-module (gnu packages haskell-apps)
   #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages wordnet)
   #:use-module (gnu packages photo)
@@ -3548,6 +3549,43 @@ It also provides an easy way to find synonyms and antonyms for a given
 word (to avoid repetitions for example).")
     (license license:gpl3+)))
 
+(define-public emacs-flymake-shellcheck
+  (let ((version "0.1")
+        (revision "0")
+        (commit "bb413006afc23105a0f84df6fb82504a06483a55"))
+    (package
+      (name "emacs-flymake-shellcheck")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/federicotdn/flymake-shellcheck.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09cqn0255pxim34v5zfypbzr4clfd2ajlsyxpc9h64wg6v9876y5"))))
+      (build-system emacs-build-system)
+      (inputs
+       `(("shellcheck" ,shellcheck)))
+      (arguments
+       '(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'hardcode-shellcheck-path
+             (lambda _
+               (let ((file "flymake-shellcheck.el"))
+                 (chmod file #o644)
+                 (emacs-substitute-sexps file
+                   ("(defcustom flymake-shellcheck-path"
+                    (which "shellcheck")))))))))
+      (home-page "https://github.com/federicotdn/flymake-shellcheck")
+      (synopsis "A bash/sh Flymake backend powered by ShellCheck")
+      (description
+       "This package adds a @code{shellcheck} backend to Flymake.  The
+recommended usage is to add @code{flymake-shellcheck-load} to
+@code{sh-mode-hook}.")
+      (license license:gpl3+))))
+
 (define-public emacs-flycheck-rust
   (package
     (name "emacs-flycheck-rust")
-- 
2.26.0


--=-=-=--




Acknowledgement sent to "LaFreniere, Joseph" <joseph@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#40429; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 4 Apr 2020 15:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.