-
Notifications
You must be signed in to change notification settings - Fork 0
/
sf-ethereum.rb
40 lines (34 loc) · 1.16 KB
/
sf-ethereum.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class SfEthereum < Formula
desc "Firehose on Ethereum stack"
homepage "https://github.com/streamingfast/sf-ethereum"
version "0.10.2"
license "Apache-2.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/streamingfast/sf-ethereum/releases/download/v0.10.2/sf-ethereum_0.10.2_macOS_arm64.tar.gz"
sha256 "5b5bdca500f08cf2306ea34581b5628346ec38d3f7f3100381038f00c334aa1a"
def install
bin.install "sfeth"
end
end
if Hardware::CPU.intel?
url "https://github.com/streamingfast/sf-ethereum/releases/download/v0.10.2/sf-ethereum_0.10.2_macOS_x86_64.tar.gz"
sha256 "ff6e79da0c2d1127933a2f5d746a9dbfb4eacbf73d58d4b5de4851b4c8b7ef8e"
def install
bin.install "sfeth"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/streamingfast/sf-ethereum/releases/download/v0.10.2/sf-ethereum_0.10.2_linux_x86_64.tar.gz"
sha256 "0305d26a844e1300fe0433656d9a484d484f445b2c3664d6e3082c2ec79f6486"
def install
bin.install "sfeth"
end
end
end
end