Skip to content

Commit

Permalink
Merge pull request #174785 from Homebrew/hurl-rust-1.79.0
Browse files Browse the repository at this point in the history
hurl: add rust 1.79.0 build patch
  • Loading branch information
BrewTestBot authored Jun 18, 2024
2 parents fd02a36 + 9ba4ced commit eba63e6
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 eba63e6

Please sign in to comment.