Add Homebrew formula

This commit is contained in:
SW 2026-08-16 19:31:54 +02:00
parent 16a2155d68
commit 192eb06c9d

18
Formula/resticview.rb Normal file
View file

@ -0,0 +1,18 @@
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