$OpenBSD: patch-ShellCheck_cabal,v 1.1 2019/09/30 12:50:08 kili Exp $

Index: ShellCheck.cabal
--- ShellCheck.cabal.orig
+++ ShellCheck.cabal
@@ -1,12 +1,13 @@
 Name:             ShellCheck
 Version:          0.4.7
+x-revision: 1
 Synopsis:         Shell script analysis tool
 License:          GPL-3
 License-file:     LICENSE
 Category:         Static Analysis
 Author:           Vidar Holen
 Maintainer:       vidar@vidarholen.net
-Homepage:         http://www.shellcheck.net/
+Homepage:         https://www.shellcheck.net/
 Build-Type:       Custom
 Cabal-Version:    >= 1.8
 Bug-reports:      https://github.com/koalaman/shellcheck/issues
@@ -31,6 +32,12 @@ Extra-Source-Files:
     -- tests
     test/shellcheck.hs
 
+custom-setup
+  setup-depends:
+    base    >= 4    && <5,
+    process >= 1.0  && <1.7,
+    Cabal   >= 1.10 && <3.0
+
 source-repository head
     type: git
     location: git://github.com/koalaman/shellcheck.git
@@ -38,7 +45,7 @@ source-repository head
 library
     build-depends:
       base >= 4 && < 5,
-      containers,
+      containers >= 0.5,
       directory,
       json,
       mtl >= 2.2.1,
@@ -73,9 +80,9 @@ executable shellcheck
       base >= 4 && < 5,
       containers,
       directory,
-      json,
+      json >= 0.3.6,
       mtl >= 2.2.1,
-      parsec,
+      parsec >= 3.0,
       regex-tdfa,
       QuickCheck >= 2.7.4
     main-is: shellcheck.hs
