Merge pull request #206954 from Homebrew/bump-gollama-1.28.13
[homebrew-core.git] / Formula / d / dysk.rb
blobb26370186dfc256fea28199067d4a1e037c926d3
1 class Dysk < Formula
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"
6   license "MIT"
7   head "https://github.com/Canop/dysk.git", branch: "main"
9   bottle do
10     sha256 cellar: :any_skip_relocation, x86_64_linux: "620f28a2fdc6ae12ce19aa83229dbae4361cd2de75266daa629aad90270dfc9f"
11   end
13   depends_on "rust" => :build
14   depends_on :linux
16   def install
17     system "cargo", "install", *std_cargo_args
18   end
20   test do
21     assert_match "filesystem", shell_output("#{bin}/dysk -s free-d")
22     assert_match version.to_s, shell_output("#{bin}/dysk --version")
23   end
24 end