chore: bump resticview to v0.1.2
This commit is contained in:
parent
610720b2ea
commit
e2ab26fbd7
1 changed files with 18 additions and 4 deletions
|
|
@ -1,15 +1,29 @@
|
||||||
class Resticview < Formula
|
class Resticview < Formula
|
||||||
desc "TUI browser for restic backup repositories"
|
desc "TUI browser for restic backup repositories"
|
||||||
homepage "https://git.janvete.com/seth/resticview"
|
homepage "https://git.janvete.com/seth/resticview"
|
||||||
url "https://git.janvete.com/seth/resticview/archive/v0.1.1.tar.gz"
|
version "0.1.2"
|
||||||
sha256 "d8063b596b8b5c84c80f22831511dfd0d04210648ea1daf9cf6186eb8b9ffefb"
|
|
||||||
license "MIT"
|
license "MIT"
|
||||||
head "https://git.janvete.com/seth/resticview.git", branch: "main"
|
head "https://git.janvete.com/seth/resticview.git", branch: "main"
|
||||||
|
|
||||||
depends_on "rust" => :build
|
on_macos do
|
||||||
|
if Hardware::CPU.arm?
|
||||||
|
url "https://git.janvete.com/seth/resticview/releases/download/v0.1.2/resticview-v0.1.2-darwin-arm64.tar.gz"
|
||||||
|
sha256 "d7f590cf7fec5e9f5054a2a59fb75ff05fa3ee92b9e92276a03160c171aa9a15"
|
||||||
|
else
|
||||||
|
url "https://git.janvete.com/seth/resticview/releases/download/v0.1.2/resticview-v0.1.2-darwin-amd64.tar.gz"
|
||||||
|
sha256 "62d66895cdb6f0fc2fc3767b555f268af03e311b596ea635ba63b8095e0e7728"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
on_linux do
|
||||||
|
if Hardware::CPU.intel?
|
||||||
|
url "https://git.janvete.com/seth/resticview/releases/download/v0.1.2/resticview-v0.1.2-linux-amd64.tar.gz"
|
||||||
|
sha256 "3eb8274d0bdd5c5e1e9bbbb7be78b0aae029128049a0f4cdf759515d0b812507"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "cargo", "install", *std_cargo_args
|
bin.install "resticview"
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue