class Resticview < Formula desc "TUI browser for restic backup repositories" homepage "https://github.com/janvete/resticview" url "https://github.com/janvete/resticview/archive/refs/tags/v0.1.0.tar.gz" sha256 "89aa460304da090dc7eb3b6bada06c91ad7bc72387b12c1fbbd11cf877726201" license "MIT" head "https://github.com/janvete/resticview.git", branch: "main" depends_on "rust" => :build def install system "cargo", "install", *std_cargo_args end test do assert_match "TUI browser for restic backup repositories", shell_output("#{bin}/resticview --help") end end