aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/libxml2.go
blob: 9eb767f5926f70e63720f440347388d8e7f806a7 (plain)
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
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.NewViaGit(
		"https://gitlab.gnome.org/GNOME/libxml2.git",
		"refs/tags/v"+version,
		mustDecode(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,
	}
}