homebrew-core/Formula/httpstat.rb
reorx 52a0107734 httpstat 1.1.3 (new formula)
Closes #4610.

Signed-off-by: Zhiming Wang <zmwangx@gmail.com>
2016-09-11 07:08:12 -04:00

18 lines
487 B
Ruby

class Httpstat < Formula
desc "Curl statistics made simple"
homepage "https://github.com/reorx/httpstat"
url "https://github.com/reorx/httpstat/archive/v1.1.3.tar.gz"
sha256 "8ba3a8f0550468a634dce45d45dc03375e5dcdedea4c8edc8c26a326d929af04"
bottle :unneeded
depends_on :python 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