-
Notifications
You must be signed in to change notification settings - Fork 1
/
eopa.rb
51 lines (44 loc) · 1.58 KB
/
eopa.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Eopa < Formula
desc "Styra Enterprise OPA is an enterprise-grade authorization engine built to provide resource-efficient performance for data-heavy workloads"
homepage "https://www.styra.com/enterprise-opa"
version "1.22.0"
on_macos do
on_intel do
url "https://github.com/StyraInc/enterprise-opa/releases/download/v1.22.0/eopa_Darwin_x86_64"
sha256 "2dee1226e662d4319747df1056711a5ea0111cac678b54827b502ca98ca83e18"
def install
bin.install "eopa_Darwin_x86_64" => "eopa"
end
end
on_arm do
url "https://github.com/StyraInc/enterprise-opa/releases/download/v1.22.0/eopa_Darwin_arm64"
sha256 "65440620ea4262fa69a2ddfee8c8af54484c854df35f09e343df2e9398e955f4"
def install
bin.install "eopa_Darwin_arm64" => "eopa"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/StyraInc/enterprise-opa/releases/download/v1.22.0/eopa_Linux_x86_64"
sha256 "e111c4c37017fbb70224c91fb97c0c971c0db51edf225fe69837fa566a1898d4"
def install
bin.install "eopa_Linux_x86_64" => "eopa"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/StyraInc/enterprise-opa/releases/download/v1.22.0/eopa_Linux_arm64"
sha256 "da677c8a725ba56330b4c44e4ef8431bfc63e58b420c6e92bdd8b86d88a45fb7"
def install
bin.install "eopa_Linux_arm64" => "eopa"
end
end
end
end
end