diff --git a/Formula/h/hoverfly.rb b/Formula/h/hoverfly.rb index 31f7bea2652225..22f3760258116c 100644 --- a/Formula/h/hoverfly.rb +++ b/Formula/h/hoverfly.rb @@ -1,22 +1,28 @@ class Hoverfly < Formula desc "API simulations for development and testing" homepage "https://hoverfly.io/" - url "https://github.com/SpectoLabs/hoverfly/archive/refs/tags/v1.10.7.tar.gz" - sha256 "d0203f84a4e1137978d3420eefca13768f85d6dc40d511a184d338fcd240114a" + url "https://github.com/SpectoLabs/hoverfly/archive/refs/tags/v1.10.8.tar.gz" + sha256 "9674aee1ae2b32552c44c2a8fb520b838f5340ff7d90bf94f5a7ddf5df6d44d4" license "Apache-2.0" head "https://github.com/SpectoLabs/hoverfly.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "b6e96ad474253dcdb1f6300fb3c81095bcf2e48829c1a8ec2af03b99a3b72ebd" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "b6e96ad474253dcdb1f6300fb3c81095bcf2e48829c1a8ec2af03b99a3b72ebd" - sha256 cellar: :any_skip_relocation, arm64_ventura: "b6e96ad474253dcdb1f6300fb3c81095bcf2e48829c1a8ec2af03b99a3b72ebd" - sha256 cellar: :any_skip_relocation, sonoma: "499108b76825c2602ea9814aa69c93acd75be98507d0c577071921e55d9ae087" - sha256 cellar: :any_skip_relocation, ventura: "499108b76825c2602ea9814aa69c93acd75be98507d0c577071921e55d9ae087" - sha256 cellar: :any_skip_relocation, x86_64_linux: "982cb424994466bbf66f3f2537c2bc3e1814d4be6774d6e26a4e68234ca5e689" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "af5ee69a29491fe9c2f44100ab74919e5ee9f45308dfc937e8461f08f1312075" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "af5ee69a29491fe9c2f44100ab74919e5ee9f45308dfc937e8461f08f1312075" + sha256 cellar: :any_skip_relocation, arm64_ventura: "af5ee69a29491fe9c2f44100ab74919e5ee9f45308dfc937e8461f08f1312075" + sha256 cellar: :any_skip_relocation, sonoma: "96079d6d3345b1baf0a22e27de801802d9e2209b8cb2c0ad198c507d72c1ecf7" + sha256 cellar: :any_skip_relocation, ventura: "96079d6d3345b1baf0a22e27de801802d9e2209b8cb2c0ad198c507d72c1ecf7" + sha256 cellar: :any_skip_relocation, x86_64_linux: "3d9b61e5283c4f91d75fec58f05a837a9bae3541ef9725845ca7032da6f44c25" end depends_on "go" => :build + # version patch, upstream pr ref, https://github.com/SpectoLabs/hoverfly/pull/1171 + patch do + url "https://github.com/SpectoLabs/hoverfly/commit/e4aae6a3fa53acb444e3fe12ae2ded1c1ebb915a.patch?full_index=1" + sha256 "2b31220b440026f8e6a616760ff1eb67b58cc5dac73beeaa6a2c5a1eb6a18a99" + end + def install ldflags = "-s -w -X main.hoverctlVersion=#{version}" system "go", "build", *std_go_args(ldflags:), "./core/cmd/hoverfly"