Files
hakurei/internal/rosa/xz.go
Ophestra 916093770a
Some checks failed
Test / Create distribution (push) Failing after 50s
Test / ShareFS (push) Failing after 55s
Test / Hakurei (push) Failing after 1m11s
Test / Sandbox (race detector) (push) Failing after 1m11s
Test / Sandbox (push) Failing after 1m21s
Test / Hakurei (race detector) (push) Failing after 1m34s
Test / Flake checks (push) Has been skipped
internal/rosa: key metadata by string
For upcoming azalea integration. The API is quite ugly right now to ease migration.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-17 15:05:52 +09:00

31 lines
608 B
Go

package rosa
import "hakurei.app/internal/pkg"
func (t Toolchain) newXZ(s *S) (pkg.Artifact, string) {
const (
version = "5.8.3"
checksum = "nCdayphPGdIdVoAZ2hR4vYlhDG9LeVKho_i7ealTud4Vxy5o5dWe0VwFlN7utuUL"
)
return s.NewPackage(t, "xz", version, newFromGitHubRelease(
"tukaani-project/xz",
"v"+version,
"xz-"+version+".tar.bz2",
checksum,
pkg.TarBzip2,
), nil, (*MakeHelper)(nil),
Diffutils,
), version
}
func init() {
native.MustRegister(&Artifact{
f: Toolchain.newXZ,
Name: "xz",
Description: "XZ Utils",
Website: "https://tukaani.org/xz/",
ID: 5277,
})
}