Skip to content

Commit c4e93a8

Browse files
committed
hlint 3.10
autobump: add hlint Signed-off-by: Rui Chen <[email protected]> hlint: build with ghc 9.12 Signed-off-by: Rui Chen <[email protected]>
1 parent 23a8b3c commit c4e93a8

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,7 @@ hive
13791379
hivemind
13801380
hivex
13811381
hledger
1382+
hlint
13821383
hof
13831384
homebank
13841385
hopenpgp-tools

Formula/h/hlint.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Hlint < Formula
22
desc "Haskell source code suggestions"
33
homepage "https://github.com/ndmitchell/hlint"
4-
url "https://hackage.haskell.org/package/hlint-3.8/hlint-3.8.tar.gz"
5-
sha256 "a8f236b62be7f28ff2900745a227a29c50b68c9f33c849c678b5c564519bbd74"
4+
url "https://hackage.haskell.org/package/hlint-3.10/hlint-3.10.tar.gz"
5+
sha256 "d99672337c06b455884ac14418d562701143141d0d7e46af476817c2ae3efe37"
66
license "BSD-3-Clause"
77
head "https://github.com/ndmitchell/hlint.git", branch: "master"
88

@@ -18,15 +18,11 @@ class Hlint < Formula
1818
end
1919

2020
depends_on "cabal-install" => :build
21-
depends_on "ghc@9.8" => :build # TODO: switch to [email protected] (or newer if supported) in next release
21+
depends_on "ghc" => :build
2222

2323
uses_from_macos "ncurses"
2424

2525
def install
26-
# GHC 9.10 support: https://github.com/ndmitchell/hlint/commit/7aafde56f6bc526aedb95fb282d8fd2b4ea290cc
27-
# GHC 9.12 support: https://github.com/ndmitchell/hlint/pull/1629
28-
odie "Update GHC build dependency!" if build.stable? && version > "3.8"
29-
3026
system "cabal", "v2-update"
3127
system "cabal", "v2-install", *std_cabal_v2_args
3228
man1.install "data/hlint.1"

0 commit comments

Comments
 (0)