1
0
mirror of https://github.com/danog/ytop.git synced 2024-11-26 20:15:03 +01:00
ytop/package-publisher/templates/homebrew
2020-01-25 09:04:45 -08:00

17 lines
513 B
Plaintext

class Ytop < Formula
desc "A TUI system monitor written in Rust"
homepage "https://github.com/cjbassi/ytop"
version "{{ VERSION }}"
url "https://github.com/cjbassi/ytop/releases/download/{{ VERSION }}/ytop-{{ VERSION }}-x86_64-apple-darwin.tar.gz"
sha256 "{{ MACOS_SHA256 }}"
if OS.linux?
url "https://github.com/cjbassi/ytop/releases/download/{{ VERSION }}/ytop-{{ VERSION }}-x86_64-unknown-linux-gnu.tar.gz"
sha256 "{{ LINUX_SHA256 }}"
end
def install
bin.install "ytop"
end
end