From a45fbe450277d8496d0a64dd8a9668be213cb2fb Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 16 Aug 2024 13:13:21 -0400 Subject: [PATCH] tmpmail 1.2.3 (new formula) Signed-off-by: Rui Chen autobump: add tmpmail Signed-off-by: Rui Chen --- .github/autobump.txt | 1 + Formula/t/tmpmail.rb | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 Formula/t/tmpmail.rb diff --git a/.github/autobump.txt b/.github/autobump.txt index fa03e104bddf5..df37f73c9128c 100644 --- a/.github/autobump.txt +++ b/.github/autobump.txt @@ -2597,6 +2597,7 @@ tio tippecanoe tkey-ssh-agent tlsx +tmpmail tmux-mem-cpu-load tmux-xpanes tmuxp diff --git a/Formula/t/tmpmail.rb b/Formula/t/tmpmail.rb new file mode 100644 index 0000000000000..39e006ef4ce94 --- /dev/null +++ b/Formula/t/tmpmail.rb @@ -0,0 +1,23 @@ +class Tmpmail < Formula + desc "Temporary email right from your terminal written in POSIX sh" + homepage "https://github.com/sdushantha/tmpmail" + url "https://github.com/sdushantha/tmpmail/archive/refs/tags/v1.2.3.tar.gz" + sha256 "8d12f5474b89ee585413ec32cc9991a971a00e8bb63ac8e5a2e736f734f37cfb" + license "MIT" + head "https://github.com/sdushantha/tmpmail.git", branch: "master" + + depends_on "jq" + depends_on "w3m" + depends_on "xclip" + + def install + bin.install "tmpmail" + man1.install "tmpmail.1" + end + + test do + system bin/"tmpmail", "--generate" + + assert_match version.to_s, shell_output("#{bin}/tmpmail --version") + end +end