-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirehose-ethereum.rb
More file actions
46 lines (41 loc) · 1.52 KB
/
firehose-ethereum.rb
File metadata and controls
46 lines (41 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class FirehoseEthereum < Formula
desc ""
homepage "https://github.com/streamingfast/firehose-ethereum"
version "2.16.2"
license "Apache-2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/streamingfast/firehose-ethereum/releases/download/v2.16.2/firehose-ethereum_darwin_x86_64.tar.gz"
sha256 "12bc2b438239e45f9b1a9af1c18a7e45a36b2ee9cb22f1cb0ae05f38043c4f49"
def install
bin.install "fireeth"
end
end
if Hardware::CPU.arm?
url "https://github.com/streamingfast/firehose-ethereum/releases/download/v2.16.2/firehose-ethereum_darwin_arm64.tar.gz"
sha256 "39380b3bd380e99115d3767ad1c8f8e57514e10c49eaf5a74206dfcbb665a640"
def install
bin.install "fireeth"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-ethereum/releases/download/v2.16.2/firehose-ethereum_linux_x86_64.tar.gz"
sha256 "a545691ae5754f2dfebe971d2663e4f87308cfdf35d3f87082337375dec6f473"
def install
bin.install "fireeth"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-ethereum/releases/download/v2.16.2/firehose-ethereum_linux_arm64.tar.gz"
sha256 "621e61f6bb8463f2c7af265f83246fd568ba36fd33f55349a43af3170df2f3da"
def install
bin.install "fireeth"
end
end
end
end