Subject: [PATCH 15/21] gnu: Add emacs-helm-flycheck.

From: Pierre Neidhardt <[email-masked]>
Date: Fri, 1 Jun 2018 09:53:23 +0200

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0247a45cb..df014c12a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10968,3 +10968,34 @@ switch between the various windows of one or several specific applications.
 See @code{helm-exwm-switch-browser} for an example.
 ")
     (license license:gpl3+)))
+
+(define-public emacs-helm-flycheck
+  (let ((commit "3cf7d3bb194acacc6395f88360588013d92675d6"))
+    (package
+      (name "emacs-helm-flycheck")
+      (version (git-version "0.4" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/yasuyk/helm-flycheck")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "1a2yfxhz04klwhcandqvfzysxp6b7bxyxx1xk1x3kds5hif5fkl4"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-dash" ,emacs-dash)
+         ("emacs-flycheck" ,flycheck)
+         ("emacs-helm" ,emacs-helm)))
+      (home-page
+       "https://github.com/yasuyk/helm-flycheck")
+      (synopsis "Show flycheck errors with Helm")
+      (description
+       "Add the following to your Emacs init file:
+@code{
+(eval-after-load 'flycheck
+  '(define-key flycheck-mode-map (kbd \"C-c ! h\") 'helm-flycheck))
+}")
+    (license license:gpl3+))))
-- 
2.17.0