Skip to content

Commit

Permalink
dhall-json 1.0.5
Browse files Browse the repository at this point in the history
Closes #16765.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Aug 13, 2017
1 parent c1a68c3 commit 85d61ff
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Formula/dhall-json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ class DhallJson < Formula

desc "Dhall to JSON compiler and a Dhall to YAML compiler"
homepage "https://github.com/Gabriel439/Haskell-Dhall-JSON-Library"
url "https://hackage.haskell.org/package/dhall-json-1.0.4/dhall-json-1.0.4.tar.gz"
sha256 "60d08cc7b89d60866a998e9fe9c3d8aa829b2e1530a6b290916f529aa40e994f"
revision 1
url "https://hackage.haskell.org/package/dhall-json-1.0.5/dhall-json-1.0.5.tar.gz"
sha256 "68124c6a22b4070386d127af43209ad10f38e54a74fae188157d102da03ac501"
head "https://github.com/Gabriel439/Haskell-Dhall-JSON-Library.git"

bottle do
Expand All @@ -21,13 +20,7 @@ class DhallJson < Formula
depends_on "cabal-install" => :build

def install
# Reported the need for the contraint bumps 9 Aug 2017:
# https://github.com/Gabriel439/Haskell-Dhall-JSON-Library/issues/5
# https://github.com/Gabriel439/Haskell-Dhall-JSON-Library/issues/6
install_cabal_package "--allow-newer=dhall-json:trifecta",
"--constraint", "trifecta < 1.8",
"--allow-newer=dhall-json:optparse-generic",
"--constraint", "optparse-generic < 1.3"
install_cabal_package
end

test do
Expand Down

0 comments on commit 85d61ff

Please sign in to comment.