homebrew-core/Formula/ansiweather.rb

21 lines
545 B
Ruby

class Ansiweather < Formula
desc "Weather in your terminal, with ANSI colors and Unicode symbols"
homepage "https://github.com/fcambus/ansiweather"
url "https://github.com/fcambus/ansiweather/archive/1.17.0.tar.gz"
sha256 "eabc5ad709e2a459d59402b190511b44542eafce293205a29fb2b73c3e075ee7"
license "BSD-2-Clause"
head "https://github.com/fcambus/ansiweather.git"
bottle :unneeded
depends_on "jq"
def install
bin.install "ansiweather"
end
test do
assert_match "Wind", shell_output("#{bin}/ansiweather")
end
end