All checks were successful
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 2m46s
Test / Hakurei (push) Successful in 3m43s
Test / ShareFS (push) Successful in 3m50s
Test / Sandbox (race detector) (push) Successful in 5m21s
Test / Hakurei (race detector) (push) Successful in 6m21s
Test / Flake checks (push) Successful in 1m23s
This results in much cleaner call site for the majority of use cases. Signed-off-by: Ophestra <cat@gensokyo.uk>
32 lines
723 B
Go
32 lines
723 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibxml2() (pkg.Artifact, string) {
|
|
const (
|
|
version = "2.15.2"
|
|
checksum = "zwQvCIBnjzUFY-inX5ckfNT3mIezsCRV55C_Iztde5OnRTB3u33lfO5h03g7DK_8"
|
|
)
|
|
return t.NewPackage("libxml2", version, t.newTagRemote(
|
|
"https://gitlab.gnome.org/GNOME/libxml2.git",
|
|
"v"+version, checksum,
|
|
), &PackageAttr{
|
|
// can't create shell.out: Read-only file system
|
|
Writable: true,
|
|
}, (*MesonHelper)(nil),
|
|
Git,
|
|
Diffutils,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Libxml2] = Metadata{
|
|
f: Toolchain.newLibxml2,
|
|
|
|
Name: "libxml2",
|
|
Description: "an XML toolkit implemented in C",
|
|
Website: "https://gitlab.gnome.org/GNOME/libxml2/",
|
|
|
|
ID: 1783,
|
|
}
|
|
}
|