From 624ac48b5d0de6a72e09bcc3b10c65c7cad0d924 Mon Sep 17 00:00:00 2001 From: ivaquero Date: Sun, 22 Sep 2024 22:34:49 +0800 Subject: [PATCH] wthrr: migrate to homebrew-core --- Formula/wthrr.rb | 30 ------------------------------ list.md | 1 - 2 files changed, 31 deletions(-) delete mode 100644 Formula/wthrr.rb diff --git a/Formula/wthrr.rb b/Formula/wthrr.rb deleted file mode 100644 index fe83923..0000000 --- a/Formula/wthrr.rb +++ /dev/null @@ -1,30 +0,0 @@ -class Wthrr < Formula - desc "Weather companion for the terminal. Rust app" - homepage "https://github.com/ttytm/wthrr-the-weathercrab" - license "MIT" - - if OS.mac? && Hardware::CPU.arm? - url "https://github.com/ttytm/wthrr-the-weathercrab/releases/download/v1.2.0/wthrr-macos-arm64" - sha256 "ef92e3f9195d39016bc14b40c678d7726e173d484b31e58295e72cde1e8ef383" - def install - bin.install "wthrr-macos-arm64" - end - elsif OS.mac? && !Hardware::CPU.arm? - url "https://github.com/ttytm/wthrr-the-weathercrab/releases/download/v1.2.0/wthrr-macos-x86_64" - sha256 "aeb5bd7127a55cf198179cafb1d147de66e3e47e72fbbcaa5d63281c37ecde47" - def install - bin.install "wthrr-macos-x86_64" - end - elsif !OS.mac? && !Hardware::CPU.arm? - url "https://github.com/ttytm/wthrr-the-weathercrab/releases/download/v1.2.0/wthrr-linux-x86_64" - sha256 "fb2b78b1d1184e77aadedb02c887e786f4922b8bcaea0ab32d6963d33959b6e3" - def install - bin.install "wthrr-linux-x86_64" - end - end - - livecheck do - url :homepage - strategy :github_latest - end -end diff --git a/list.md b/list.md index 0a62e7a..d3cbaea 100644 --- a/list.md +++ b/list.md @@ -76,7 +76,6 @@ | `carapace` | [Carapace](https://github.com/carapace-sh/carapace-bin) | ![a](assets/a.svg)![1](assets/1.svg) | | `chatgpt-cli` | [ChatGPT](https://github.com/j178/chatgpt) | ![a](assets/a.svg)![1](assets/1.svg) | | `termscp` | [termscp](https://github.com/veeso/termscp) | ![a](assets/a.svg)![1](assets/1.svg) | -| `wthrr` | [wthrr](https://github.com/ttytm/wthrr-the-weathercrab) | ![a](assets/a.svg)![1](assets/1.svg) | ## ⚔️ Challenge