From 192eb06c9d116394d276d7045a17d863bed438fb Mon Sep 17 00:00:00 2001 From: SW Date: Sun, 16 Aug 2026 19:31:54 +0200 Subject: [PATCH] Add Homebrew formula --- Formula/resticview.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/resticview.rb diff --git a/Formula/resticview.rb b/Formula/resticview.rb new file mode 100644 index 0000000..c9e94aa --- /dev/null +++ b/Formula/resticview.rb @@ -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