-
Notifications
You must be signed in to change notification settings - Fork 0
/
firehose-near.rb
52 lines (45 loc) · 1.48 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.0.0"
license "Apache-2.0"
on_macos do
on_intel do
url "https://github.com/streamingfast/firehose-near/releases/download/v2.0.0/firehose-near_darwin_x86_64.tar.gz"
sha256 "1c86907be04b786a1fbb9cdec912a32390aeb6019b5bab1da115a04970440215"
def install
bin.install "firenear"
end
end
on_arm do
url "https://github.com/streamingfast/firehose-near/releases/download/v2.0.0/firehose-near_darwin_arm64.tar.gz"
sha256 "e98c480d425e0d630e507ce364be7e497f5206bbdf42ce7cf58291a90552eea6"
def install
bin.install "firenear"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.0.0/firehose-near_linux_x86_64.tar.gz"
sha256 "f49618d9b546f4316d116c410c679db8fc79a3a7956e08f4a4eac7e8e439f467"
def install
bin.install "firenear"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.0.0/firehose-near_linux_arm64.tar.gz"
sha256 "3776def227f575e731cc236d7611800e880caacffb730f8e5fe9c8719ec4139a"
def install
bin.install "firenear"
end
end
end
end
end