From ca261f543acdcd90c189ab36ce0dd344fd30dd3c Mon Sep 17 00:00:00 2001 From: rui Date: Tue, 9 Feb 2021 04:15:06 +0000 Subject: [PATCH 1/3] elm-format 0.8.5 --- Formula/elm-format.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/elm-format.rb b/Formula/elm-format.rb index ff3605e7e607f..0629c82ec45bc 100644 --- a/Formula/elm-format.rb +++ b/Formula/elm-format.rb @@ -2,8 +2,8 @@ class ElmFormat < Formula desc "Elm source code formatter, inspired by gofmt" homepage "https://github.com/avh4/elm-format" url "https://github.com/avh4/elm-format.git", - tag: "0.8.4", - revision: "5bd4fbe591fe8b456160c180cb875ef60bc57890" + tag: "0.8.5", + revision: "80f15d85ee71e1663c9b53903f2b5b2aa444a3be" license "BSD-3-Clause" head "https://github.com/avh4/elm-format.git" From ac3b939befee8239808683bbd11d544a131b6702 Mon Sep 17 00:00:00 2001 From: rui Date: Tue, 9 Feb 2021 10:02:28 -0500 Subject: [PATCH 2/3] use ghc 10 instead of ghc@8 --- Formula/elm-format.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/elm-format.rb b/Formula/elm-format.rb index 0629c82ec45bc..75a82456e89b1 100644 --- a/Formula/elm-format.rb +++ b/Formula/elm-format.rb @@ -15,7 +15,7 @@ class ElmFormat < Formula end depends_on "cabal-install" => :build - depends_on "ghc@8.8" => :build + depends_on "ghc" => :build def build_elm_format_conf <<~EOS From 5cbe4a48165fd29a7c313dc6a886b4e66d8e5d17 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Wed, 17 Feb 2021 19:43:42 +0000 Subject: [PATCH 3/3] elm-format: add pkg-config and gnu-tar build deps --- Formula/elm-format.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/elm-format.rb b/Formula/elm-format.rb index 75a82456e89b1..f497bf4bfdd8a 100644 --- a/Formula/elm-format.rb +++ b/Formula/elm-format.rb @@ -16,6 +16,8 @@ class ElmFormat < Formula depends_on "cabal-install" => :build depends_on "ghc" => :build + depends_on "gnu-tar" => :build + depends_on "pkg-config" => :build def build_elm_format_conf <<~EOS @@ -27,6 +29,7 @@ module Build_elm_format where end def install + ENV.prepend_path "PATH", Formula["gnu-tar"].opt_libexec/"gnubin" defaults = buildpath/"generated/Build_elm_format.hs" defaults.write(build_elm_format_conf)