homebrew-core/Formula/httpstat.rb
2018-03-02 01:35:29 -08:00

18 lines
489 B
Ruby

class Httpstat < Formula
desc "Curl statistics made simple"
homepage "https://github.com/reorx/httpstat"
url "https://github.com/reorx/httpstat/archive/1.2.1.tar.gz"
sha256 "b670f03d38ecaae40e05cae79dfc296b567598752d5fb6ec174836a5f4d0b381"
bottle :unneeded
depends_on "python@2" if MacOS.version <= :snow_leopard
def install
bin.install "httpstat.py" => "httpstat"
end
test do
assert_match "HTTP", shell_output("#{bin}/httpstat https://github.com")
end
end