diff --git a/Formula/bench.rb b/Formula/bench.rb index 3906cdf2b58..2eac7cad1dc 100644 --- a/Formula/bench.rb +++ b/Formula/bench.rb @@ -1,18 +1,8 @@ class Bench < Formula desc "Command-line benchmark tool" homepage "https://github.com/Gabriel439/bench" - head "https://github.com/Gabriel439/bench.git" revision 1 - - bottle do - cellar :any_skip_relocation - sha256 "b1eccbf77a04e4de1a59a0eed5c0f6e2d8b6b191736ee9ad4fdea9a173010651" => :catalina - sha256 "493de8888b6fe1745a887cda10a421448a08943496124b1cb49cc02453002638" => :mojave - sha256 "cd0e9ae0bc13d3db0330ae839689d9b2d129bc0bf0c1b7165033968a9e6a0f22" => :high_sierra - end - - depends_on "cabal-install" => :build - depends_on "ghc@8.8" => :build + head "https://github.com/Gabriel439/bench.git" stable do url "https://hackage.haskell.org/package/bench-1.0.12/bench-1.0.12.tar.gz" @@ -25,6 +15,16 @@ class Bench < Formula end end + bottle do + cellar :any_skip_relocation + sha256 "b1eccbf77a04e4de1a59a0eed5c0f6e2d8b6b191736ee9ad4fdea9a173010651" => :catalina + sha256 "493de8888b6fe1745a887cda10a421448a08943496124b1cb49cc02453002638" => :mojave + sha256 "cd0e9ae0bc13d3db0330ae839689d9b2d129bc0bf0c1b7165033968a9e6a0f22" => :high_sierra + end + + depends_on "cabal-install" => :build + depends_on "ghc@8.8" => :build + def install system "cabal", "v2-update" system "cabal", "v2-install", *std_cabal_v2_args