1
0
forked from rosa/hakurei
Files
hakurei/internal/rosa/package/libpsl.az
T
2026-07-14 17:48:28 +09:00

29 lines
627 B
Go

package libpsl {
description = "provides functions to work with the Mozilla Public Suffix List";
website = "https://rockdaboot.github.io/libpsl";
anitya = 7305;
version# = "0.23.0";
source = remoteGitHubRelease {
suffix = "rockdaboot/libpsl";
tag = version;
name = "libpsl-"+version+".tar.gz";
checksum = "7M0i3g6snxXGri0PcE5iYJFVGhZjBq1QxEom45ML0tCyu8b7i-ydvlcIAS2g9zqa";
compress = gzip;
};
writable = true;
early = `
test_disable() { chmod +w "$2" && echo "$1" > "$2"; }
test_disable 'int main(){return 0;}' tests/test-is-public-builtin.c
`;
exec = make {};
inputs = [
pkg-config,
python,
];
}