From ef414ab01a28b61ef01766c3dd28ed2342f5ab75 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 20 May 2026 03:14:11 +0900 Subject: internal/rosa/package: migrate many libraries This also adds more string helpers. Signed-off-by: Ophestra --- internal/rosa/libexpat.go | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 internal/rosa/libexpat.go (limited to 'internal/rosa/libexpat.go') diff --git a/internal/rosa/libexpat.go b/internal/rosa/libexpat.go deleted file mode 100644 index 1f1f9225..00000000 --- a/internal/rosa/libexpat.go +++ /dev/null @@ -1,32 +0,0 @@ -package rosa - -import ( - "strings" - - "hakurei.app/internal/pkg" -) - -func (t Toolchain) newLibexpat() (pkg.Artifact, string) { - const ( - version = "2.8.1" - checksum = "iMEtbOJhQfGof2GxSlxffQSI1va_NDDQ9VIuqcPbNZ0291Dr8wttD5QecYyjIQap" - ) - return t.NewPackage("libexpat", version, newFromGitHubRelease( - "libexpat/libexpat", - "R_"+strings.ReplaceAll(version, ".", "_"), - "expat-"+version+".tar.bz2", - checksum, - pkg.TarBzip2, - ), nil, (*MakeHelper)(nil), - Bash, - ), version -} -func init() { - native.mustRegister(Toolchain.newLibexpat, &Metadata{ - Name: "libexpat", - Description: "a stream-oriented XML parser library", - Website: "https://libexpat.github.io/", - - ID: 770, - }) -} -- cgit v1.3.1