aboutsummaryrefslogtreecommitdiff
path: root/Formula/tomato-sauce-3.0.0.rb
blob: a6471272095f7b3697ab1ed091cffaefcc30ca00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class TomatoSauce < Formula
  desc "A telnet server that prints pretty patterns"
  homepage "https://r.bdr.sh/tomato_sauce.html"
  if Hardware::CPU.arm?
    url "https://build.r.bdr.sh/tomato-sauce/tomato-sauce-aarch64-apple-darwin-3.0.0.tar.gz"
    sha256 "29ed8d5da0f6e31876aef96a232e75b8a403f1f1dd88134c4ca4219b9c3c1d87"
  else
    url "https://build.r.bdr.sh/tomato-sauce/tomato-sauce-x86_64-apple-darwin-3.0.0.tar.gz"
    sha256 "031c92d5bd467d1fb74eab5fb857ad03dc9476c28d809db29eeaac241923ae57"
  end
  license "AGPL-3.0-or-later"
  head "https://git.sr.ht/~rbdr/tomato-sauce", branch: "main"
  version "3.0.0"

  def install
    bin.install "tomato-sauce"
  end

  test do
    system "#{bin}/tomato-sauce", "--help"
  end
end