package rosa import "hakurei.app/internal/pkg" func (t Toolchain) newXZ() pkg.Artifact { const ( version = "5.8.2" checksum = "rXT-XCp9R2q6cXqJ5qenp0cmGPfiENQiU3BWtUVeVgArfRmSsISeUJgvCR3zI0a0" ) return t.NewViaMake("xz", version, pkg.NewHTTPGetTar( nil, "https://github.com/tukaani-project/xz/releases/download/"+ "v"+version+"/xz-"+version+".tar.bz2", mustDecode(checksum), pkg.TarBzip2, ), nil, t.Load(Diffutils), ) } func init() { artifactsF[XZ] = Toolchain.newXZ }