-
Notifications
You must be signed in to change notification settings - Fork 0
/
substreams.rb
48 lines (41 loc) · 1.44 KB
/
substreams.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Substreams < Formula
desc ""
homepage "https://github.com/streamingfast/substreams"
version "1.10.6"
license "Apache-2.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/streamingfast/substreams/releases/download/v1.10.6/substreams_darwin_arm64.tar.gz"
sha256 "876bd6b318ee3182f8335c1bef20dda52fc906750522db60dddc7e8f2ac19596"
def install
bin.install "substreams"
end
end
if Hardware::CPU.intel?
url "https://github.com/streamingfast/substreams/releases/download/v1.10.6/substreams_darwin_x86_64.tar.gz"
sha256 "06d621963154fdf974bc8016c5c43b303009030dab6f7c832a84e0189c71f21b"
def install
bin.install "substreams"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/streamingfast/substreams/releases/download/v1.10.6/substreams_linux_arm64.tar.gz"
sha256 "373a87aa283f6a86e3d7fa8a19d628bf48a6ea16f1a053945fca505d4612bcb1"
def install
bin.install "substreams"
end
end
if Hardware::CPU.intel?
url "https://github.com/streamingfast/substreams/releases/download/v1.10.6/substreams_linux_x86_64.tar.gz"
sha256 "b0e1c8bbf7794505645587798f369603f2738e0454efc3b30614fa461d2d2a8d"
def install
bin.install "substreams"
end
end
end
end