11class SentryCli < Formula
22 desc "Command-line utility to interact with Sentry"
33 homepage "https://docs.sentry.io/cli/"
4- url "https://github.com/getsentry/sentry-cli/archive/refs/tags/2.46 .0.tar.gz"
5- sha256 "eb7ab4f8ea6338582baf9335fef5d9e5340f918e8ac41116f9f83559b7c4d344 "
4+ url "https://github.com/getsentry/sentry-cli/archive/refs/tags/2.47 .0.tar.gz"
5+ sha256 "805f5b47dbb17c70627c50af3809b02c89cdfb425424ab4d9f766c09dabfb3a1 "
66 license "BSD-3-Clause"
77 head "https://github.com/getsentry/sentry-cli.git" , branch : "master"
88
99 bottle do
10- sha256 cellar : :any_skip_relocation , arm64_sequoia : "7da89ac606667a40338012b27cf303f4f9c4354752386ad5d2eb55596ff574cd "
11- sha256 cellar : :any_skip_relocation , arm64_sonoma : "81a2c48146be930e3afff6163c4bec471076645d66a14d837832012e6d428db4 "
12- sha256 cellar : :any_skip_relocation , arm64_ventura : "a511db75c5b7cc7a4b3fae779cd1e00b33555b4a973c113ab63c46bb45621979 "
13- sha256 cellar : :any_skip_relocation , sonoma : "4006029304324cf229de6b674ae287ccc5f51cae7d938eea730c8599b808edfa "
14- sha256 cellar : :any_skip_relocation , ventura : "4b8ea2d4efc000e1f21626ce1ce23519b6376e5704c769d479319c773d25724b "
15- sha256 cellar : :any_skip_relocation , arm64_linux : "a2ce7bab6e424741909ba67d7d6e2d6d4b347fdce8f114dff77c49c55a7d66f8 "
16- sha256 cellar : :any_skip_relocation , x86_64_linux : "e11439501e145c7bdd4af4abb3827e18da777f07df9e4f9abe25b8230b2e07b6 "
10+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "502f65f9bbb119170b38925a53b6e6b42f6cfc32a7536be6cd5e05a05f9d9ef9 "
11+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "e14afb22ab9728634a5fe52eecf65db6746b22f843cf86e7063398a0f070f465 "
12+ sha256 cellar : :any_skip_relocation , arm64_ventura : "26744a9ff01e85aaaa3d190a9bee396cf1eda1d0518986d1de36aeb5a7dde446 "
13+ sha256 cellar : :any_skip_relocation , sonoma : "8c53a9ded296d05965fbf749498de44684d77c858a13dec83a7065f863c780f3 "
14+ sha256 cellar : :any_skip_relocation , ventura : "076269f6a248e8c8853d669780ef4c8abf722d7ac4c45f888157e91aa63fe2a9 "
15+ sha256 cellar : :any_skip_relocation , arm64_linux : "92712ba7993149b712e9287ec6725bae545de2b271952856b34c6e41d1794289 "
16+ sha256 cellar : :any_skip_relocation , x86_64_linux : "96a79e9d44827b7cbead3315382013245b3f891f9de19171b010559fa4746483 "
1717 end
1818
1919 depends_on "pkgconf" => :build
@@ -22,11 +22,18 @@ class SentryCli < Formula
2222 uses_from_macos "bzip2"
2323 uses_from_macos "zlib"
2424
25+ on_ventura :or_older do
26+ depends_on "swift" => :build
27+ end
28+
2529 on_linux do
2630 depends_on "openssl@3"
2731 end
2832
2933 def install
34+ # Disable the nested sandbox to avoid errors when building in our own sandbox.
35+ # TODO: Upstream a way to optionally include `--disable-sandbox` in the `swift` invocation.
36+ inreplace "apple-catalog-parsing/build.rs" , '"build",' , '"build", "--disable-sandbox",'
3037 system "cargo" , "install" , *std_cargo_args
3138
3239 generate_completions_from_executable ( bin /"sentry-cli" , "completions" )
0 commit comments