Merge pull request #207012 from Homebrew/bump-tailwindcss-4.0.5
[Homebrew/homebrew-core.git] / Formula / w / wego.rb
blobee773d8a11c61cd9f44cf286babce383283153a7
1 class Wego < Formula
2   desc "Weather app for the terminal"
3   homepage "https://github.com/schachmat/wego"
4   url "https://github.com/schachmat/wego/archive/refs/tags/2.3.tar.gz"
5   sha256 "6a7501ab537709d1d9fc04f14e5a2c5a8f99309591a8dae75260caf4a74ce567"
6   license "ISC"
7   head "https://github.com/schachmat/wego.git", branch: "master"
9   bottle do
10     sha256 cellar: :any_skip_relocation, arm64_sequoia:  "c018b940e572be3adf5d7813f7bef94a36ffe8733bd8afadb53e115de28b7a2c"
11     sha256 cellar: :any_skip_relocation, arm64_sonoma:   "3a72b006e5227806f20935e88d2f8eb85617f32fe1c56904acb986305157885c"
12     sha256 cellar: :any_skip_relocation, arm64_ventura:  "3a72b006e5227806f20935e88d2f8eb85617f32fe1c56904acb986305157885c"
13     sha256 cellar: :any_skip_relocation, arm64_monterey: "3a72b006e5227806f20935e88d2f8eb85617f32fe1c56904acb986305157885c"
14     sha256 cellar: :any_skip_relocation, sonoma:         "b6d7829893896b8576788a0d7df2f95c59c4ca98df57af9a66f87547a14d01a3"
15     sha256 cellar: :any_skip_relocation, ventura:        "b6d7829893896b8576788a0d7df2f95c59c4ca98df57af9a66f87547a14d01a3"
16     sha256 cellar: :any_skip_relocation, monterey:       "b6d7829893896b8576788a0d7df2f95c59c4ca98df57af9a66f87547a14d01a3"
17     sha256 cellar: :any_skip_relocation, x86_64_linux:   "5028e25c825625552b1788d3ce16572f52eeff6837c983279b1f5c10b44ff74e"
18   end
20   depends_on "go" => :build
22   def install
23     system "go", "build", *std_go_args(ldflags: "-s -w")
24   end
26   test do
27     ENV["WEGORC"] = testpath/".wegorc"
28     assert_match(/No .*API key specified./, shell_output("#{bin}/wego 2>&1", 1))
29   end
30 end