class Resticview < Formula desc "TUI browser for restic backup repositories" homepage "https://git.janvete.com/seth/resticview" url "https://git.janvete.com/seth/resticview/archive/v0.1.4.tar.gz" sha256 "79de9f0e8ecac078094e457677c316c6f0a37ca87de36d82ec0723c283aaa4b2" license "MIT" head "https://git.janvete.com/seth/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