2 desc "Linux utility to get information on filesystems, like df but better"
3 homepage "https://dystroy.org/dysk/"
4 url "https://github.com/Canop/dysk/archive/refs/tags/v2.10.0.tar.gz"
5 sha256 "af6a19493f3ca1d471605cd3e40016aaf89d383c87705f6c32d8232b7e433c14"
7 head "https://github.com/Canop/dysk.git", branch: "main"
10 sha256 cellar: :any_skip_relocation, x86_64_linux: "620f28a2fdc6ae12ce19aa83229dbae4361cd2de75266daa629aad90270dfc9f"
13 depends_on "rust" => :build
17 system "cargo", "install", *std_cargo_args
21 assert_match "filesystem", shell_output("#{bin}/dysk -s free-d")
22 assert_match version.to_s, shell_output("#{bin}/dysk --version")