forked from cashapp/hermit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buck2.hcl
47 lines (39 loc) · 1.19 KB
/
buck2.hcl
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
description = "A large-scale build tool."
binaries = ["buck2"]
platform "darwin" "arm64" {
vars = {
"tarball": "buck2-aarch64-apple-darwin",
}
}
platform "darwin" "amd64" {
vars = {
"tarball": "buck2-x86_64-apple-darwin",
}
}
platform "linux" "amd64" {
vars = {
"tarball": "buck2-x86_64-unknown-linux-gnu",
}
}
platform "linux" "arm64" {
vars = {
"tarball": "buck2-aarch64-unknown-linux-gnu",
}
}
source = "https://github.com/facebook/buck2/releases/download/${version}/${tarball}.zst"
on "unpack" {
rename {
from = "${root}/${tarball}"
to = "${root}/buck2"
}
}
version "2024-03-15" {
auto-version {
github-release = "facebook/buck2"
}
}
sha256sums = {
"https://github.com/facebook/buck2/releases/download/2024-03-15/buck2-x86_64-unknown-linux-gnu.zst": "ade10518486a61c669f8216197dc924936041dfd56b4a21ec947d76ababb1dca",
"https://github.com/facebook/buck2/releases/download/2024-03-15/buck2-x86_64-apple-darwin.zst": "cf3077b0f3820c65806f80903b4ca36fb06987e8a88b7709a0c60eff66335df5",
"https://github.com/facebook/buck2/releases/download/2024-03-15/buck2-aarch64-apple-darwin.zst": "18a43c5df7bd891a60ab94ab33a9f2c883c187d802db9b8dfefcc646356241d4",
}