-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildpack.toml
159 lines (134 loc) · 5.73 KB
/
buildpack.toml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# Copyright 2018-2024 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
api = "0.7"
[buildpack]
description = "A Cloud Native Buildpack that installs and executes `rustup` to install Rust"
homepage = "https://github.com/paketo-community/rustup"
id = "paketo-community/rustup"
keywords = ["rust", "rustup"]
name = "Paketo Buildpack for Rustup"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-community/rustup/blob/main/LICENSE"
[metadata]
include-files = ["LICENSE", "NOTICE", "README.md", "buildpack.toml", "linux/amd64/bin/build", "linux/amd64/bin/detect", "linux/amd64/bin/main", "linux/arm64/bin/build", "linux/arm64/bin/detect", "linux/arm64/bin/main"]
pre-package = "scripts/build.sh"
[[metadata.configurations]]
build = true
default = "stable"
description = "the Rust toolchain or version number to install"
name = "BP_RUST_TOOLCHAIN"
[[metadata.configurations]]
build = true
default = "minimal"
description = "the Rust profile to install"
name = "BP_RUST_PROFILE"
[[metadata.configurations]]
build = true
default = ""
description = "an additional Rust target to install"
name = "BP_RUST_TARGET"
[[metadata.configurations]]
build = true
default = "true"
description = "use rustup to install Rust"
name = "BP_RUSTUP_ENABLED"
[[metadata.configurations]]
build = true
default = "1"
description = "the rustup version"
name = "BP_RUSTUP_INIT_VERSION"
[[metadata.configurations]]
build = true
default = "gnu"
description = "libc implementation: gnu or musl"
name = "BP_RUSTUP_INIT_LIBC"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:rust:rustup:1.27.1:*:*:*:*:*:*:*"]
id = "rustup-init-gnu"
name = "Rustup (GNU libc)"
purl = "pkg:generic/[email protected]?arch=amd64"
sha256 = "6aeece6993e902708983b209d04c0d1dbb14ebb405ddb87def578d41f920f56d"
source = "https://github.com/rust-lang/rustup/archive/refs/tags/1.27.1.tar.gz"
source-sha256 = "f5ba37f2ba68efec101198dca1585e6e7dd7640ca9c526441b729a79062d3b77"
stacks = ["*"]
uri = "https://static.rust-lang.org/rustup/archive/1.27.1/x86_64-unknown-linux-gnu/rustup-init"
version = "1.27.1"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-APACHE"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-MIT"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:rust:rustup:1.27.1:*:*:*:*:*:*:*"]
id = "rustup-init-musl"
name = "Rustup (musl libc)"
purl = "pkg:generic/[email protected]?arch=amd64"
sha256 = "1455d1df3825c5f24ba06d9dd1c7052908272a2cae9aa749ea49d67acbe22b47"
source = "https://github.com/rust-lang/rustup/archive/refs/tags/1.27.1.tar.gz"
source-sha256 = "f5ba37f2ba68efec101198dca1585e6e7dd7640ca9c526441b729a79062d3b77"
stacks = ["*"]
uri = "https://static.rust-lang.org/rustup/archive/1.27.1/x86_64-unknown-linux-musl/rustup-init"
version = "1.27.1"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-APACHE"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-MIT"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:rust:rustup:1.27.1:*:*:*:*:*:*:*"]
id = "rustup-init-gnu"
name = "Rustup (GNU libc)"
purl = "pkg:generic/[email protected]?arch=arm64"
sha256 = "1cffbf51e63e634c746f741de50649bbbcbd9dbe1de363c9ecef64e278dba2b2"
source = "https://github.com/rust-lang/rustup/archive/refs/tags/1.27.1.tar.gz"
source-sha256 = "f5ba37f2ba68efec101198dca1585e6e7dd7640ca9c526441b729a79062d3b77"
stacks = ["*"]
uri = "https://static.rust-lang.org/rustup/archive/1.27.1/aarch64-unknown-linux-gnu/rustup-init"
version = "1.27.1"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-APACHE"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-MIT"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:rust:rustup:1.27.1:*:*:*:*:*:*:*"]
id = "rustup-init-musl"
name = "Rustup (musl libc)"
purl = "pkg:generic/[email protected]?arch=arm64"
sha256 = "7087ada906cd27a00c8e0323401a46804a03a742bd07811da6dead016617cc64"
source = "https://github.com/rust-lang/rustup/archive/refs/tags/1.27.1.tar.gz"
source-sha256 = "f5ba37f2ba68efec101198dca1585e6e7dd7640ca9c526441b729a79062d3b77"
stacks = ["*"]
uri = "https://static.rust-lang.org/rustup/archive/1.27.1/aarch64-unknown-linux-musl/rustup-init"
version = "1.27.1"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-APACHE"
[[metadata.dependencies.licenses]]
type = "MIT"
uri = "https://github.com/rust-lang/rustup/blob/master/LICENSE-MIT"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"