1
0
mirror of https://github.com/danog/ytop.git synced 2024-11-30 04:29:10 +01:00
ytop/package-publisher/templates/homebrew

17 lines
513 B
Plaintext
Raw Normal View History

2020-01-25 18:04:45 +01:00
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