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..30881718a1486 --- /dev/null +++ b/Formula/t/termbg.rb @@ -0,0 +1,18 @@ +class Termbg < Formula + desc "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