All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m32s
Test / Hakurei (push) Successful in 3m39s
Test / ShareFS (push) Successful in 3m44s
Test / Sandbox (race detector) (push) Successful in 5m0s
Test / Hakurei (race detector) (push) Successful in 5m56s
Test / Flake checks (push) Successful in 1m29s
This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
28 lines
634 B
Go
28 lines
634 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newXZ() (pkg.Artifact, string) {
|
|
const (
|
|
version = "5.8.2"
|
|
checksum = "rXT-XCp9R2q6cXqJ5qenp0cmGPfiENQiU3BWtUVeVgArfRmSsISeUJgvCR3zI0a0"
|
|
)
|
|
return t.NewPackage("xz", version, pkg.NewHTTPGetTar(
|
|
nil, "https://github.com/tukaani-project/xz/releases/download/"+
|
|
"v"+version+"/xz-"+version+".tar.bz2",
|
|
mustDecode(checksum),
|
|
pkg.TarBzip2,
|
|
), nil, (*MakeHelper)(nil),
|
|
Diffutils,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[XZ] = Metadata{
|
|
f: Toolchain.newXZ,
|
|
|
|
Name: "xz",
|
|
Description: "XZ Utils",
|
|
Website: "https://tukaani.org/xz/",
|
|
}
|
|
}
|