diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 03:14:11 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 03:33:15 +0900 |
| commit | ef414ab01a28b61ef01766c3dd28ed2342f5ab75 (patch) | |
| tree | 314a8f471c8c052da0936549ecac2d052f52932a /internal/rosa/libpsl.go | |
| parent | 96abf266dd8bbbb4ea65c74a3f84f2461a6021a7 (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/libpsl.go')
| -rw-r--r-- | internal/rosa/libpsl.go | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/internal/rosa/libpsl.go b/internal/rosa/libpsl.go deleted file mode 100644 index 69fff34b..00000000 --- a/internal/rosa/libpsl.go +++ /dev/null @@ -1,35 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newLibpsl() (pkg.Artifact, string) { - const ( - version = "0.21.5" - checksum = "XjfxSzh7peG2Vg4vJlL8z4JZJLcXqbuP6pLWkrGCmRxlnYUFTKNBqWGHCxEOlCad" - ) - return t.NewPackage("libpsl", version, newFromGitHubRelease( - "rockdaboot/libpsl", - version, - "libpsl-"+version+".tar.gz", - checksum, - pkg.TarGzip, - ), &PackageAttr{ - Writable: true, - ScriptEarly: ` -test_disable() { chmod +w "$2" && echo "$1" > "$2"; } - -test_disable 'int main(){return 0;}' tests/test-is-public-builtin.c -`, - }, (*MakeHelper)(nil), - Python, - ), version -} -func init() { - native.mustRegister(Toolchain.newLibpsl, &Metadata{ - Name: "libpsl", - Description: "provides functions to work with the Mozilla Public Suffix List", - Website: "https://rockdaboot.github.io/libpsl/", - - ID: 7305, - }) -} |
