From b83be6d699174218b124fe209a1f461472408ac0 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 15 Dec 2024 20:35:23 -0500 Subject: [PATCH] termbg 0.6.1 (new formula) Signed-off-by: Rui Chen --- .github/autobump.txt | 1 + Formula/t/termbg.rb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Formula/t/termbg.rb diff --git a/.github/autobump.txt b/.github/autobump.txt index ba31ce63c1ad4..683ef6b3eaf7f 100644 --- a/.github/autobump.txt +++ b/.github/autobump.txt @@ -2987,6 +2987,7 @@ tenere tengo tenv tere +termbg terminator termscp termshark diff --git a/Formula/t/termbg.rb b/Formula/t/termbg.rb new file mode 100644 index 0000000000000..0a9c0f36b54e3 --- /dev/null +++ b/Formula/t/termbg.rb @@ -0,0 +1,18 @@ +class Termbg < Formula + desc "A Rust library for terminal background color detection" + homepage "https://github.com/dalance/termbg" + url "https://github.com/dalance/termbg/archive/refs/tags/v0.6.1.tar.gz" + sha256 "f31a6b0af7b2833d31481197f80e2cef9dfe7196ca640367d8f63ca6e03a3d0d" + license any_of: ["Apache-2.0", "MIT"] + head "https://github.com/dalance/termbg.git", branch: "master" + + depends_on "rust" => :build + + def install + system "cargo", "install", *std_cargo_args + end + + test do + system bin/"termbg", "--debug" + end +end