|
1 | 1 | class Hoverfly < Formula |
2 | 2 | desc "API simulations for development and testing" |
3 | 3 | homepage "https://hoverfly.io/" |
4 | | - url "https://github.com/SpectoLabs/hoverfly/archive/refs/tags/v1.10.7.tar.gz" |
5 | | - sha256 "d0203f84a4e1137978d3420eefca13768f85d6dc40d511a184d338fcd240114a" |
| 4 | + url "https://github.com/SpectoLabs/hoverfly/archive/refs/tags/v1.10.8.tar.gz" |
| 5 | + sha256 "9674aee1ae2b32552c44c2a8fb520b838f5340ff7d90bf94f5a7ddf5df6d44d4" |
6 | 6 | license "Apache-2.0" |
7 | 7 | head "https://github.com/SpectoLabs/hoverfly.git", branch: "master" |
8 | 8 |
|
9 | 9 | bottle do |
10 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "b6e96ad474253dcdb1f6300fb3c81095bcf2e48829c1a8ec2af03b99a3b72ebd" |
11 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "b6e96ad474253dcdb1f6300fb3c81095bcf2e48829c1a8ec2af03b99a3b72ebd" |
12 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "b6e96ad474253dcdb1f6300fb3c81095bcf2e48829c1a8ec2af03b99a3b72ebd" |
13 | | - sha256 cellar: :any_skip_relocation, sonoma: "499108b76825c2602ea9814aa69c93acd75be98507d0c577071921e55d9ae087" |
14 | | - sha256 cellar: :any_skip_relocation, ventura: "499108b76825c2602ea9814aa69c93acd75be98507d0c577071921e55d9ae087" |
15 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "982cb424994466bbf66f3f2537c2bc3e1814d4be6774d6e26a4e68234ca5e689" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "af5ee69a29491fe9c2f44100ab74919e5ee9f45308dfc937e8461f08f1312075" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "af5ee69a29491fe9c2f44100ab74919e5ee9f45308dfc937e8461f08f1312075" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_ventura: "af5ee69a29491fe9c2f44100ab74919e5ee9f45308dfc937e8461f08f1312075" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "96079d6d3345b1baf0a22e27de801802d9e2209b8cb2c0ad198c507d72c1ecf7" |
| 14 | + sha256 cellar: :any_skip_relocation, ventura: "96079d6d3345b1baf0a22e27de801802d9e2209b8cb2c0ad198c507d72c1ecf7" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "3d9b61e5283c4f91d75fec58f05a837a9bae3541ef9725845ca7032da6f44c25" |
16 | 16 | end |
17 | 17 |
|
18 | 18 | depends_on "go" => :build |
19 | 19 |
|
| 20 | + # version patch, upstream pr ref, https://github.com/SpectoLabs/hoverfly/pull/1171 |
| 21 | + patch do |
| 22 | + url "https://github.com/SpectoLabs/hoverfly/commit/e4aae6a3fa53acb444e3fe12ae2ded1c1ebb915a.patch?full_index=1" |
| 23 | + sha256 "2b31220b440026f8e6a616760ff1eb67b58cc5dac73beeaa6a2c5a1eb6a18a99" |
| 24 | + end |
| 25 | + |
20 | 26 | def install |
21 | 27 | ldflags = "-s -w -X main.hoverctlVersion=#{version}" |
22 | 28 | system "go", "build", *std_go_args(ldflags:), "./core/cmd/hoverfly" |
|
0 commit comments