From 46528e2b33fb0bc73e1ece706f7eaa9722f75a09 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 14 Jan 2020 12:07:02 -0800 Subject: [PATCH] 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 --- Formula/hledger.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Formula/hledger.rb b/Formula/hledger.rb index cc28a5d89c..9cd4dbea35 100644 --- a/Formula/hledger.rb +++ b/Formula/hledger.rb @@ -5,8 +5,8 @@ class Hledger < Formula desc "Command-line accounting tool" homepage "https://hledger.org/" - url "https://hackage.haskell.org/package/hledger-1.16.1/hledger-1.16.1.tar.gz" - sha256 "aa764da8caea4d8937220d502020d6b8bc69bd05b9630874bed144f9a42680b7" + url "https://hackage.haskell.org/package/hledger-1.16.2/hledger-1.16.2.tar.gz" + sha256 "b4b78b3f08d00ca75c6f6d47b37c0a67aec4adc0aefff2ca29bb0f3b82ac7bcb" bottle do cellar :any_skip_relocation @@ -20,17 +20,18 @@ class Hledger < Formula uses_from_macos "ncurses" resource "hledger-web" do - url "https://hackage.haskell.org/package/hledger-web-1.16.1/hledger-web-1.16.1.tar.gz" - sha256 "4517bedc6155c89c3cf7b7403190bcdd3969094e68220605fd6b2ab3c9acc3d6" + url "https://hackage.haskell.org/package/hledger-web-1.16.2/hledger-web-1.16.2.tar.gz" + sha256 "daa4b68d8491d0a5716ee2ac39520a31bef6a1ae6b36ddc0f531b81616c237ce" end resource "hledger-ui" do - url "https://hackage.haskell.org/package/hledger-ui-1.16.1/hledger-ui-1.16.1.tar.gz" - sha256 "c120bc9b968faccb827fcc19382e3c629f20772168a7606a3171d38332bfc132" + url "https://hackage.haskell.org/package/hledger-ui-1.16.2/hledger-ui-1.16.2.tar.gz" + sha256 "90f69e1e2f9fa66c535b7f61144b3fb681f1629f313c89d423b4569722224faf" end 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 test do