From 57c6cb5d012cd1251fb5af7a03df2fdb5d672c72 Mon Sep 17 00:00:00 2001 From: Andy Dixon Date: Fri, 9 Oct 2026 07:33:53 +0100 Subject: [PATCH] mapsize 2.0.0 --- Formula/mapsize.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Formula/mapsize.rb b/Formula/mapsize.rb index f18c6cc..752d762 100644 --- a/Formula/mapsize.rb +++ b/Formula/mapsize.rb @@ -1,16 +1,15 @@ class Mapsize < Formula desc "Interactive terminal disk usage analyser with a navigable treemap" homepage "https://github.com/andydixon/mapsize" - url "https://github.com/andydixon/mapsize/archive/refs/tags/v1.2.0.tar.gz" - sha256 "659bd10fa7dc3781994bd7b2b187c7bc33a87134794332179bfead228485bb89" + url "https://github.com/andydixon/mapsize/archive/refs/tags/v2.0.0.tar.gz" + sha256 "cf9e68b5f57959e5768d2dff4fc38d26f108fcbf9d43081f3719f2b917d64f5e" license "GPL-3.0-or-later" head "https://github.com/andydixon/mapsize.git", branch: "master" - depends_on "go" => :build + depends_on "rust" => :build def install - ldflags = "-X github.com/andydixon/mapsize/internal/brand.Version=#{version}" - system "go", "build", *std_go_args(ldflags:), "./cmd/mapsize" + system "cargo", "install", *std_cargo_args man1.install "docs/mapsize.1" end