Skip to content

Commit

Permalink
chainhook 1.8.0
Browse files Browse the repository at this point in the history
chainhook: add rust 1.88.0 build patch

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Aug 13, 2024
1 parent 26651fa commit dab909e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/c/chainhook.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Chainhook < Formula
desc "Reorg-aware indexing engine for the Stacks & Bitcoin blockchains"
homepage "https://github.com/hirosystems/chainhook"
url "https://github.com/hirosystems/chainhook/archive/refs/tags/v1.7.0.tar.gz"
sha256 "f59873691dbc4f1766f9cbc99f6bde02dd7934fad78caac89c1a70b94cf7ebf1"
url "https://github.com/hirosystems/chainhook/archive/refs/tags/v1.8.0.tar.gz"
sha256 "5d1ea1ad91585d440cf56d0293541593294b70cbf59172957ff53b5598be874d"
license "GPL-3.0-only"
head "https://github.com/hirosystems/chainhook.git", branch: "develop"

Expand All @@ -20,6 +20,12 @@ class Chainhook < Formula

uses_from_macos "llvm" => :build # for libclang

# rust 1.80 build patch, upstream pr ref, https://github.com/hirosystems/chainhook/pull/631
patch do
url "https://github.com/hirosystems/chainhook/commit/e98fc6093e30c41aec55a3391b917ff92de6df1f.patch?full_index=1"
sha256 "9b1b48a9a5be5ae0ceb3661c7e61f08ca6806ee49fd684dd1dc29cc3a3abb242"
end

def install
system "cargo", "install", "--features", "cli,debug", "--no-default-features",
*std_cargo_args(path: "components/chainhook-cli")
Expand Down

0 comments on commit dab909e

Please sign in to comment.