haskell-language-server: update for `ghc` (9.4) and `ghc@9.2`

Also remove `ghc@8.6` and `ghc@8.8` to allow deprecating some old,
unmaintained versions of GHC. Upstream has deprecated support for
these in HEAD so would have been removed in next release.

Closes #110865.

Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2022-12-03 14:09:44 -08:00 committed by BrewTestBot
parent 9012aaaea0
commit cd4e87f648
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 2 additions and 5 deletions

View File

@ -4,6 +4,7 @@ class HaskellLanguageServer < Formula
url "https://github.com/haskell/haskell-language-server/archive/1.8.0.0.tar.gz"
sha256 "e1081ac581d21547d835beb8561e815573944aa0babe752a971479da3a207235"
license "Apache-2.0"
revision 1
head "https://github.com/haskell/haskell-language-server.git", branch: "master"
# we need :github_latest here because otherwise
@ -25,15 +26,11 @@ class HaskellLanguageServer < Formula
depends_on "cabal-install" => [:build, :test]
depends_on "ghc" => [:build, :test]
depends_on "ghc@8.10" => [:build, :test]
depends_on "ghc@9.2" => [:build, :test]
uses_from_macos "ncurses"
uses_from_macos "zlib"
on_intel do
depends_on "ghc@8.6" => [:build, :test]
depends_on "ghc@8.8" => [:build, :test]
end
def ghcs
deps.map(&:to_formula)
.select { |f| f.name.match? "ghc" }