Add Homebrew formula
This commit is contained in:
parent
16a2155d68
commit
192eb06c9d
1 changed files with 18 additions and 0 deletions
18
Formula/resticview.rb
Normal file
18
Formula/resticview.rb
Normal 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
|
||||||
Loading…
Add table
Reference in a new issue