Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oha 1.6.0 #203929

Merged
merged 2 commits into from
Jan 11, 2025
Merged

oha 1.6.0 #203929

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions Formula/o/oha.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
class Oha < Formula
desc "HTTP load generator, inspired by rakyll/hey with tui animation"
homepage "https://github.com/hatoo/oha/"
url "https://github.com/hatoo/oha/archive/refs/tags/v1.5.0.tar.gz"
sha256 "2e8d42df346486d3ed5be5016361f40a12989aeffd1c239e307e3bcb414d84c9"
url "https://github.com/hatoo/oha/archive/refs/tags/v1.6.0.tar.gz"
sha256 "44ae493c24f42f8994b4192ace99e63866c054e305d368bf77176108cbfa93fd"
license "MIT"
head "https://github.com/hatoo/oha.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "984dc4607535bb3a869d60fd1c34804ebfdd882b24dfd990eecafcd8679f4bf5"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "7b23f4409e37e53965b0a82bfde684184f3080353c2e3aeac601e317069d953f"
sha256 cellar: :any_skip_relocation, arm64_ventura: "4132c0d27dc38f1745b0179b77498c1edaca6fb7d540346a23d0a08e1387a6c4"
sha256 cellar: :any_skip_relocation, sonoma: "923cfd10cb1a3a398758aa6d2903df5ac91b473e0d49883db429eb759e38676c"
sha256 cellar: :any_skip_relocation, ventura: "eaed6763c85875e5e8b71a6f707364a5404aed32bec63b30a7914ec5d2c89719"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9c077fcfef79627928278c2ac332303b34ffcdf13aa13e22d2d68ca992fe793c"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "4eac11cb3fb9c60fbffe35ae659200e4491eca44ba1d6dd9c790a1a9c20c328f"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "92d34d54400e6fd3b89941b53d9123ad3ccf48729f5d1be339d0bc82a866f723"
sha256 cellar: :any_skip_relocation, arm64_ventura: "e1023f87ef5f7e7d0a8822b28e0b7686ffadb4a79ffcd1530c30ed0126926c1c"
sha256 cellar: :any_skip_relocation, sonoma: "e0c6a3ab1ef063700120ae41e4d0effb55c4c7f77874a8c3c130e6529542c702"
sha256 cellar: :any_skip_relocation, ventura: "33932e34c92a5cf9da0c0750b367db40fc63892c56cc045995038c7acfe427a9"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fa9ae4a5a98546c0aea7407e2626a616c9e38b84db2649a947ce882812edcea7"
end

depends_on "cmake" => :build # for aws-lc-sys
Expand All @@ -23,6 +23,12 @@ class Oha < Formula
depends_on "openssl@3" # Uses Secure Transport on macOS
end

# revert `cc` crate to 1.2.7, upstream pr ref, https://github.com/hatoo/oha/pull/662
patch do
url "https://github.com/hatoo/oha/commit/e016c271326c201343cf17347dd5c5d6b0de1ab7.patch?full_index=1"
sha256 "c3b9b1ef1486e0a9427b2623c8f6852c78fd7fd020383f36a5d2d62cb20b5970"
end

def install
system "cargo", "install", *std_cargo_args
end
Expand Down
Loading