-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirehose-near.rb
More file actions
46 lines (41 loc) · 1.48 KB
/
firehose-near.rb
File metadata and controls
46 lines (41 loc) · 1.48 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 FirehoseNear < Formula
desc ""
homepage "https://github.com/streamingfast/firehose-near"
version "2.5.0"
license "Apache-2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.5.0/firehose-near_darwin_x86_64.tar.gz"
sha256 "c22dc98a52f8ea1d8dc1784b68d867c102144f7a327a1b40c35ffca76ea2d1c5"
def install
bin.install "firenear"
end
end
if Hardware::CPU.arm?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.5.0/firehose-near_darwin_arm64.tar.gz"
sha256 "e6302c024bd403550d3b5535319565eff6fe7f24210da6e42e21f22c17be3c8d"
def install
bin.install "firenear"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.5.0/firehose-near_linux_x86_64.tar.gz"
sha256 "1abea3b4134c9710c8f89b7e708db4bed28aa0d93b10e8dd0cb4e3191cbac559"
def install
bin.install "firenear"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/firehose-near/releases/download/v2.5.0/firehose-near_linux_arm64.tar.gz"
sha256 "1eb3461e9e75348c3594ebe5648718bad982fa2f69330fe1e7d1c4d6c930fc45"
def install
bin.install "firenear"
end
end
end
end