class Doxx < Formula
desc "Terminal document viewer for .docx files"
homepage "https://github.com/bgreenwell/doxx"
url "https://github.com/bgreenwell/doxx/archive/refs/tags/v0.1.0.tar.gz"
sha256 "REPLACE_WITH_ACTUAL_SHA256"
license "MIT"
head "https://github.com/bgreenwell/doxx.git", branch: "main"
depends_on "rust" => :build
def install
system "cargo", "install", *std_cargo_args
end
test do
assert_match "doxx", shell_output("#{bin}/doxx --version")
end
end