diff --git a/Formula/h/hurl.rb b/Formula/h/hurl.rb index 3c0f3d297242..479e9cfbc6f1 100644 --- a/Formula/h/hurl.rb +++ b/Formula/h/hurl.rb @@ -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. @@ -26,6 +35,7 @@ class Hurl < Formula depends_on "pkg-config" => :build depends_on "rust" => :build + uses_from_macos "curl" uses_from_macos "libxml2"