|
1 | 1 | class Infat < Formula |
2 | 2 | desc "Tool to set default openers for file formats and url schemes on MacOS" |
3 | 3 | homepage "https://github.com/philocalyst/infat" |
4 | | - url "https://github.com/philocalyst/infat/archive/refs/tags/v2.3.4.tar.gz" |
5 | | - sha256 "5dd263952f49617ce688d3ec6c043e3dce8c5766fab9a4aef31f99c010c1ccd5" |
| 4 | + url "https://github.com/philocalyst/infat/archive/refs/tags/v2.4.0.tar.gz" |
| 5 | + sha256 "b0c0cad9dd995aff389fce829d62a61629fe8e07e7dd4a412ae010124c4cdb0d" |
6 | 6 | license "MIT" |
7 | 7 |
|
8 | 8 | bottle do |
9 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "e263c627344fa10c4373c6f7f76b96bbf090703a2e1761ed247f04f385deaf56" |
10 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "db3419a6e095edcea41b5a029dcbc2aa1a94b70c684e42c67e38019de59dbf69" |
11 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "0c57aaf12f258985b59315f828aaee79cb6fda188dca639a29407205cef827ab" |
12 | | - sha256 cellar: :any_skip_relocation, sonoma: "76e0af0201e4226d74e7b95c0217b0b3a1bdd21f98de04cf2c7f07a7d4bb6d3a" |
13 | | - sha256 cellar: :any_skip_relocation, ventura: "be3d4afc2a8963e9e6bdafdf6b6dd7522b5bb0594fabd7bec6a669eeeaac78e9" |
| 9 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "d0c6702d59949d4907d64d028e6f905350a3d5651187b5735efc6f4b1ea03be5" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "2d50bd17575624e9009127232147d00e83d189a90f3d5c0b5b123b5945e14131" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_ventura: "9f3e4319f818872bab982e1d4efafe6ee02a907f960a1b2aa2ca082dcd803924" |
| 12 | + sha256 cellar: :any_skip_relocation, sonoma: "55e949bf1cd745eb1cc1737538460ad1230236d09039cfbec30d202067d8109c" |
| 13 | + sha256 cellar: :any_skip_relocation, ventura: "587fe0d7f058a82c2f0a6d2e2226c097e0dfe22dad062b0c5770ac3e2bfc967c" |
14 | 14 | end |
15 | 15 |
|
16 | 16 | depends_on :macos |
17 | 17 | uses_from_macos "swift" => :build |
18 | 18 |
|
| 19 | + # fix swift syntax error, upstream pr ref, https://github.com/philocalyst/infat/pull/25 |
| 20 | + patch do |
| 21 | + url "https://github.com/philocalyst/infat/commit/dd050ef6f3891fe683a4f2f430c415cf0460fa2c.patch?full_index=1" |
| 22 | + sha256 "4efa99053e2455a39e9aa89221172a5c687f34511a4ebadeab2e136d974d3afa" |
| 23 | + end |
| 24 | + |
19 | 25 | def install |
20 | 26 | system "swift", "build", "--disable-sandbox", "-c", "release", "--static-swift-stdlib" |
21 | 27 | bin.install ".build/release/infat" |
|
0 commit comments