homebrew-tools/Formula/resticview.rb

18 lines
587 B
Ruby

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.1.tar.gz"
sha256 "d8063b596b8b5c84c80f22831511dfd0d04210648ea1daf9cf6186eb8b9ffefb"
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