Skip to content

Commit 89714d1

Browse files
BrewTestBotdaeho-ro
authored andcommitted
macchina 6.3.0
1 parent ee720e1 commit 89714d1

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

Formula/m/macchina.rb

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Macchina < Formula
22
desc "System information fetcher, with an emphasis on performance and minimalism"
33
homepage "https://github.com/Macchina-CLI/macchina"
4-
url "https://github.com/Macchina-CLI/macchina/archive/refs/tags/v6.2.1.tar.gz"
5-
sha256 "87a38bde067fadd96615899d6a8b9efdb238a4bd3859008be47b3e4c2a02c607"
4+
url "https://github.com/Macchina-CLI/macchina/archive/refs/tags/v6.3.0.tar.gz"
5+
sha256 "8483a427b70f0bfd89ff0fd5e05f9a622d9d8d84cce9cf8b390af7ee918a73f5"
66
license "MIT"
77

88
bottle do
@@ -16,11 +16,27 @@ class Macchina < Formula
1616

1717
depends_on "rust" => :build
1818

19+
# In order to update the dependent resources, check the link below
20+
# https://github.com/Macchina-CLI/macchina/tree/main/vendor
21+
# and find commit ids for the submodules, download tarball and update checksum.
22+
resource "ansi-to-tui" do
23+
url "https://github.com/Macchina-CLI/ansi-to-tui/archive/950d68067ed8c7f74469eb2fd996e04e1b931481.tar.gz"
24+
sha256 "e5f7b361dbc8400355ae637c4b66bcc28964e31bf634d6aa38684c510b38460e"
25+
end
26+
27+
resource "color-to-tui" do
28+
url "https://github.com/Macchina-CLI/color-to-tui/archive/9a1b684d92cc64994889e100575e38316a68670b.tar.gz"
29+
sha256 "c30ec8f9314afd401c86c7b920864a6974557e72ad21059d3420db2dcffd02cb"
30+
end
31+
1932
def install
33+
(buildpath/"vendor/ansi-to-tui").install resource("ansi-to-tui")
34+
(buildpath/"vendor/color-to-tui").install resource("color-to-tui")
35+
2036
system "cargo", "install", *std_cargo_args
2137
end
2238

2339
test do
24-
assert_match "We've collected a total of 20 readouts", shell_output("#{bin}/macchina --doctor")
40+
assert_match "We've collected a total of 19 readouts", shell_output("#{bin}/macchina --doctor")
2541
end
2642
end

0 commit comments

Comments
 (0)