Subject: [bug#60092] [PATCH] gnu: shellcheck: Update to 0.9.0.

From: jgart <[email-masked]>
Date: Thu, 15 Dec 2022 08:40:44 -0600

* gnu/packages/haskell-apps.scm (shellcheck): Update to 0.9.0.
[source]: Update URL.
[inputs]: Add missing ghc-fgl input and format the list.
---
 gnu/packages/haskell-apps.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index b9e9050814..7bfdb0a8b3 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2021 EuAndreh <[email-masked]>
 ;;; Copyright © 2021 Stefan Reichör <[email-masked]>
 ;;; Copyright © 2021 Morgan Smith <[email-masked]>
+;;; Copyright © 2022 jgart <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -826,15 +827,15 @@ (define-public scroll
 (define-public shellcheck
   (package
     (name "shellcheck")
-    (version "0.8.0")
+    (version "0.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append
-             "https://hackage.haskell.org/package/ShellCheck/ShellCheck-"
+             "https://github.com/koalaman/shellcheck/archive/refs/tags/v"
              version ".tar.gz"))
        (sha256
-        (base32 "05jlapp4m997w36h2wszdxz9gvczdczaylypsbn14jqpb650w232"))
+        (base32 "0j6iyygmqsm5gflwrnw84gwbf5x1hkkrvgysmjfygvkgg3n1zv1w"))
        (file-name (string-append name "-" version ".tar.gz"))))
     (build-system haskell-build-system)
     (arguments
@@ -852,7 +853,11 @@ (define-public shellcheck
     (native-inputs
      (list pandoc))
     (inputs
-     (list ghc-aeson ghc-diff ghc-quickcheck ghc-regex-tdfa))
+     (list ghc-aeson
+           ghc-diff
+           ghc-fgl
+           ghc-quickcheck
+           ghc-regex-tdfa))
     (home-page "https://www.shellcheck.net/")
     (synopsis "Static analysis for shell scripts")
     (description "@code{shellcheck} provides static analysis for
-- 
2.38.1