hledger 1.16.2

Also specifies a recent brick version explicitly, to stop cabal picking a broken one.
https://github.com/Homebrew/homebrew-core/pull/49010#issuecomment-574719702

Closes #49010.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
Simon Michael 2020-01-14 12:07:02 -08:00 committed by Rui Chen
parent a822b699d5
commit 46528e2b33

View file

@ -5,8 +5,8 @@ class Hledger < Formula
desc "Command-line accounting tool" desc "Command-line accounting tool"
homepage "https://hledger.org/" homepage "https://hledger.org/"
url "https://hackage.haskell.org/package/hledger-1.16.1/hledger-1.16.1.tar.gz" url "https://hackage.haskell.org/package/hledger-1.16.2/hledger-1.16.2.tar.gz"
sha256 "aa764da8caea4d8937220d502020d6b8bc69bd05b9630874bed144f9a42680b7" sha256 "b4b78b3f08d00ca75c6f6d47b37c0a67aec4adc0aefff2ca29bb0f3b82ac7bcb"
bottle do bottle do
cellar :any_skip_relocation cellar :any_skip_relocation
@ -20,17 +20,18 @@ class Hledger < Formula
uses_from_macos "ncurses" uses_from_macos "ncurses"
resource "hledger-web" do resource "hledger-web" do
url "https://hackage.haskell.org/package/hledger-web-1.16.1/hledger-web-1.16.1.tar.gz" url "https://hackage.haskell.org/package/hledger-web-1.16.2/hledger-web-1.16.2.tar.gz"
sha256 "4517bedc6155c89c3cf7b7403190bcdd3969094e68220605fd6b2ab3c9acc3d6" sha256 "daa4b68d8491d0a5716ee2ac39520a31bef6a1ae6b36ddc0f531b81616c237ce"
end end
resource "hledger-ui" do resource "hledger-ui" do
url "https://hackage.haskell.org/package/hledger-ui-1.16.1/hledger-ui-1.16.1.tar.gz" url "https://hackage.haskell.org/package/hledger-ui-1.16.2/hledger-ui-1.16.2.tar.gz"
sha256 "c120bc9b968faccb827fcc19382e3c629f20772168a7606a3171d38332bfc132" sha256 "90f69e1e2f9fa66c535b7f61144b3fb681f1629f313c89d423b4569722224faf"
end end
def install def install
install_cabal_package "hledger", "hledger-web", "hledger-ui", :using => ["happy", "alex"] install_cabal_package "hledger", "hledger-web", "hledger-ui", "brick-0.50.1", :using => ["happy", "alex"]
# help cabal pick a good brick version, https://github.com/Homebrew/homebrew-core/pull/49010#issuecomment-574719702
end end
test do test do