-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (45 loc) · 1.46 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
47
48
49
50
51
52
53
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class NctlAT43Rc < Formula
desc "Nirmata CLI to scan and remediate Kubernetes manifests, Terraform, and more!"
homepage "https://docs.nirmata.io/nctl/"
version "4.3.6-rc.3"
on_macos do
if Hardware::CPU.intel?
url "https://dl.nirmata.io/nctl/nctl_4.3.6-rc.3/nctl_4.3.6-rc.3_macos_amd64.zip"
sha256 "ce0c358d5e4029b3fabf3cb4e761175a69d429baefe46b5c927bd92bb7e83f4b"
def install
bin.install "nctl"
end
end
if Hardware::CPU.arm?
url "https://dl.nirmata.io/nctl/nctl_4.3.6-rc.3/nctl_4.3.6-rc.3_macos_arm64.zip"
sha256 "0d4fcc21c48e39e80444084426da69a9f07fb625dc6df6359b9af42b5b0fa778"
def install
bin.install "nctl"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://dl.nirmata.io/nctl/nctl_4.3.6-rc.3/nctl_4.3.6-rc.3_linux_amd64.zip"
sha256 "ae24dca359ed27ae94da6b20905201e429312c24d6be09bb6c1321b88a4419af"
def install
bin.install "nctl"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://dl.nirmata.io/nctl/nctl_4.3.6-rc.3/nctl_4.3.6-rc.3_linux_arm64.zip"
sha256 "877da0566efd8b7cfe8ee6c63d657218683ec45a79f4bc05c52dade3bff9a01e"
def install
bin.install "nctl"
end
end
end
end
conflicts_with "nctl"
end