-
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 NctlAT44Rc < Formula
desc "Nirmata CLI to scan and remediate Kubernetes manifests, Terraform, and more!"
homepage "https://docs.nirmata.io/nctl/"
version "4.4.2-rc.1"
on_macos do
if Hardware::CPU.intel?
url "https://dl.nirmata.io/nctl/nctl_4.4.2-rc.1/nctl_4.4.2-rc.1_macos_amd64.zip"
sha256 "1868b9ecece415f1947b70b9e467da4af07d96a0849242bc66ac7cd2a24e1c81"
def install
bin.install "nctl"
end
end
if Hardware::CPU.arm?
url "https://dl.nirmata.io/nctl/nctl_4.4.2-rc.1/nctl_4.4.2-rc.1_macos_arm64.zip"
sha256 "edc09face7bb14aab9a57fe0f6c00f949bf45b865cdf73cc2d4573bbfa9c23f5"
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.4.2-rc.1/nctl_4.4.2-rc.1_linux_amd64.zip"
sha256 "e7610997dc835e12ce111a99ce68660b4506a284e59cac270517fa225bf07c44"
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.4.2-rc.1/nctl_4.4.2-rc.1_linux_arm64.zip"
sha256 "d3aee8ec59d857052a2ac84def3e97ce32ad622de29cda7b2def57b21dc4b02e"
def install
bin.install "nctl"
end
end
end
end
conflicts_with "nctl"
end