aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/libexpat.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 03:14:11 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 03:33:15 +0900
commitef414ab01a28b61ef01766c3dd28ed2342f5ab75 (patch)
tree314a8f471c8c052da0936549ecac2d052f52932a /internal/rosa/libexpat.go
parent96abf266dd8bbbb4ea65c74a3f84f2461a6021a7 (diff)
internal/rosa/package: migrate many libraries
This also adds more string helpers. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libexpat.go')
-rw-r--r--internal/rosa/libexpat.go32
1 files changed, 0 insertions, 32 deletions
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,
- })
-}