Skip to content

Commit

Permalink
hurl: add rust 1.79.0 build patch
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Jun 17, 2024
1 parent 3c56489 commit 9ba4ced
Showing 1 changed file with 12 additions and 2 deletions.
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

0 comments on commit 9ba4ced

Please sign in to comment.