Skip to content

Commit

Permalink
Merge pull request Homebrew#200767 from Homebrew/macmon
Browse files Browse the repository at this point in the history
macmon 0.4.0 (new formula)
  • Loading branch information
BrewTestBot authored Dec 11, 2024
2 parents 2aba643 + ca64478 commit be69905
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1847,6 +1847,7 @@ lz4
lzip
macchina
mackup
macmon
mactop
mafft
mage
Expand Down
27 changes: 27 additions & 0 deletions Formula/m/macmon.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
class Macmon < Formula
desc "Sudoless performance monitoring for Apple Silicon processors"
homepage "https://github.com/vladkens/macmon"
url "https://github.com/vladkens/macmon/archive/refs/tags/v0.4.0.tar.gz"
sha256 "68fe17e534846e94d43539eba9ef55aa7ad0887ae2d805c1029a639e476b53e0"
license "MIT"
head "https://github.com/vladkens/macmon.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "f77e3d5f6eb464102626d590520d175fc6fc29ec416abfbf58cd13c46e7e01c2"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a147275fad2dc8144ae79ff6ba2a9b475054df1268a6ec7d016dc91b8b374b9a"
sha256 cellar: :any_skip_relocation, arm64_ventura: "e5c39d15ed9bafd987ddcfaa895ac9402a35758a97b0dd0767acc5cfff8ff39d"
end

depends_on "rust" => :build
depends_on arch: :arm64
depends_on :macos

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

test do
# cannot be functionally tested on CI as it lacks of system profile for processor
assert_match version.to_s, shell_output("#{bin}/macmon --version")
end
end

0 comments on commit be69905

Please sign in to comment.