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

hurl: add rust 1.79.0 build patch #174785

Merged
merged 1 commit into from
Jun 18, 2024
Merged
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
14 changes: 12 additions & 2 deletions Formula/h/hurl.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
class Hurl < Formula
desc "Run and Test HTTP Requests with plain text and curl"
homepage "https://hurl.dev"
url "https://github.com/Orange-OpenSource/hurl/archive/refs/tags/4.3.0.tar.gz"
sha256 "499f2430ee6b73b0414ab8aa3c9298be8276e7b404b13c76e4c02a86eb1db9cd"
license "Apache-2.0"
head "https://github.com/Orange-OpenSource/hurl.git", branch: "master"

stable do
url "https://github.com/Orange-OpenSource/hurl/archive/refs/tags/4.3.0.tar.gz"
sha256 "499f2430ee6b73b0414ab8aa3c9298be8276e7b404b13c76e4c02a86eb1db9cd"

# rust 1.79.0 build patch, upstream pr ref, https://github.com/Orange-OpenSource/hurl/pull/2923
patch do
url "https://github.com/Orange-OpenSource/hurl/commit/d51c275fc63d1ee5bbdc6fc70279ec8dae86a9c1.patch?full_index=1"
sha256 "02d9ae4f8282c4b73f3f5741deaaafa53d6f289120870b0b95bd7ecc1e0166a3"
end
end

# Upstream uses GitHub releases to indicate that a version is released
# (there's also sometimes a notable gap between when a version is tagged and
# and the release is created), so the `GithubLatest` strategy is necessary.
Expand All @@ -26,6 +35,7 @@ class Hurl < Formula

depends_on "pkg-config" => :build
depends_on "rust" => :build

uses_from_macos "curl"
uses_from_macos "libxml2"

Expand Down
Loading