-
Notifications
You must be signed in to change notification settings - Fork 5
/
chacha.rb
58 lines (50 loc) · 1.45 KB
/
chacha.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
52
53
54
55
56
57
58
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Chacha < Formula
desc ""
homepage ""
version "0.2.0"
license "FSL-1.1-Apache-2.0"
on_macos do
on_intel do
url "https://github.com/cirruslabs/chacha/releases/download/v0.2.0/chacha-darwin-amd64.tar.gz"
sha256 "221b2921e18662d5cfbce1bcc6f6ed9966490a7cebfcca44d72facf23730116c"
def install
bin.install "chacha"
end
end
on_arm do
url "https://github.com/cirruslabs/chacha/releases/download/v0.2.0/chacha-darwin-arm64.tar.gz"
sha256 "206d54306e1d4eed98a06ef3c42dd9153d8fb7d6a26665187b2777c06517ec6c"
def install
bin.install "chacha"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/chacha/releases/download/v0.2.0/chacha-linux-amd64.tar.gz"
sha256 "4b5864cb9a63e68c727a81153e1c51fafec69288b5f0b3e889756fb8a3a1a9bf"
def install
bin.install "chacha"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/chacha/releases/download/v0.2.0/chacha-linux-arm64.tar.gz"
sha256 "b2b2f4ea5aa10b2c52444cb03566398d4c6a7f95ad321b72d25c8db93d7f0993"
def install
bin.install "chacha"
end
end
end
end
def caveats
<<~EOS
See the Github repository for more information
EOS
end
end