-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirehose-near.rb
52 lines (45 loc) · 1.53 KB
/
firehose-near.rb
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
47
48
49
50
51
52
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class FirehoseNear < Formula
desc ""
homepage "https://github.com/streamingfast/firehose-near"
version "2.1.0"
license "Apache-2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.1.0/firehose-near_darwin_x86_64.tar.gz"
sha256 "7c03f6e2f7ed0177d8541bddff854960519c6d02b43660b9830c9a2c44296ab6"
def install
bin.install "firenear"
end
end
if Hardware::CPU.arm?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.1.0/firehose-near_darwin_arm64.tar.gz"
sha256 "ddd4f5805c47745172b50f71170cb97eea83bcdf97ad3fb9cf808ef8655347b3"
def install
bin.install "firenear"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.1.0/firehose-near_linux_x86_64.tar.gz"
sha256 "b5bcb23c7e002674395aa05e6fb136f3e137bf418d5577ee28d7b607fcf05d01"
def install
bin.install "firenear"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.1.0/firehose-near_linux_arm64.tar.gz"
sha256 "8abdefbffcde3b58559fac6b92917a944ab462fb0a1af7cc80d6d0847ad05b7d"
def install
bin.install "firenear"
end
end
end
end
end