Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macchina 6.4.0 #196530

Merged
merged 2 commits into from
Nov 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 10 additions & 24 deletions Formula/m/macchina.rb
Original file line number Diff line number Diff line change
@@ -1,42 +1,28 @@
class Macchina < Formula
desc "System information fetcher, with an emphasis on performance and minimalism"
homepage "https://github.com/Macchina-CLI/macchina"
url "https://github.com/Macchina-CLI/macchina/archive/refs/tags/v6.3.1.tar.gz"
sha256 "385bccc02f67c9ed6b9a483dbebdec901eb4beb82b15bb7969ee36028c19e475"
url "https://github.com/Macchina-CLI/macchina/archive/refs/tags/v6.4.0.tar.gz"
sha256 "edd7591565f199c1365420655a144507bcd2838aed09b79fefdc8b661180432f"
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "6ecc57084ae105e0d8068e693cb2b8d8ad97fdf67333fc0b56cb247492bb89dd"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "401d23f452588558b961d447ba3b55c299ca65748b5e91640868ee48437fd2d8"
sha256 cellar: :any_skip_relocation, arm64_ventura: "668fd39b49bb00d25713ecbd78fa7d72b48cb6b4eaa7c90aecfb1598d586a7ae"
sha256 cellar: :any_skip_relocation, sonoma: "a77aaa3528f6318829f13cd4105bc61efcf56dab104500d9312c0ea57dd36197"
sha256 cellar: :any_skip_relocation, ventura: "4835dc98c9415fdabbf407a14529b2d84cf4b2be4b1412cdbcc47d7e089a50b0"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e4470df67ea312015e1c176847f29fba03c193af0441683a2cec0005313d3594"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "7ced4610d20e2d1279ae391a02ef966e22984dc0bf615b6341b9672a45d2d0f0"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "3e8e972a287563d557df33bfeee21eb54fb2bd13ae2399ed0451e6381aad554b"
sha256 cellar: :any_skip_relocation, arm64_ventura: "0edf9f8eb64c603d3d2a173a0d933902ace99b500e16c8a3cd7daec854703232"
sha256 cellar: :any_skip_relocation, sonoma: "922e43abc17df8b48ffa744fd346f50f60754ea4abb2a5b82703b94686f91620"
sha256 cellar: :any_skip_relocation, ventura: "d544f58c1d3f84ab87fded15c43ee4deb67e18c3f2a3d81e40919875a795942a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c2dee8bb6fa398bbe5e7ed7dc13dbf811d9511a131a9ec678aa487b323e2528b"
end

depends_on "rust" => :build

# In order to update the dependent resources, check the link below
# https://github.com/Macchina-CLI/macchina/tree/main/vendor
# and find commit ids for the submodules, download tarball and update checksum.
resource "ansi-to-tui" do
url "https://github.com/Macchina-CLI/ansi-to-tui/archive/950d68067ed8c7f74469eb2fd996e04e1b931481.tar.gz"
sha256 "e5f7b361dbc8400355ae637c4b66bcc28964e31bf634d6aa38684c510b38460e"
end

resource "color-to-tui" do
url "https://github.com/Macchina-CLI/color-to-tui/archive/9a1b684d92cc64994889e100575e38316a68670b.tar.gz"
sha256 "c30ec8f9314afd401c86c7b920864a6974557e72ad21059d3420db2dcffd02cb"
end

def install
(buildpath/"vendor/ansi-to-tui").install resource("ansi-to-tui")
(buildpath/"vendor/color-to-tui").install resource("color-to-tui")

system "cargo", "install", *std_cargo_args
end

test do
assert_match "We've collected a total of 19 readouts", shell_output("#{bin}/macchina --doctor")

assert_match version.to_s, shell_output("#{bin}/macchina --version")
end
end
Loading