84c2f9b6c7
Closes #28242. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
19 lines
577 B
Ruby
19 lines
577 B
Ruby
class SpeedtestCli < Formula
|
|
desc "Command-line interface for https://speedtest.net bandwidth tests"
|
|
homepage "https://github.com/sivel/speedtest-cli"
|
|
url "https://github.com/sivel/speedtest-cli/archive/v2.0.2.tar.gz"
|
|
sha256 "5e22f2dcce1c9020f33faf559b22727483f022008a2912b85d573e578374b6a0"
|
|
head "https://github.com/sivel/speedtest-cli.git"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
bin.install "speedtest.py" => "speedtest"
|
|
bin.install_symlink "speedtest" => "speedtest-cli"
|
|
man1.install "speedtest-cli.1"
|
|
end
|
|
|
|
test do
|
|
system bin/"speedtest"
|
|
end
|
|
end
|