418e4a874d
Test / Create distribution (push) Successful in 1m6s
Test / Sandbox (push) Successful in 4m5s
Test / Hakurei (push) Successful in 6m17s
Test / ShareFS (push) Successful in 5m55s
Test / Sandbox (race detector) (push) Successful in 7m21s
Test / Hakurei (race detector) (push) Successful in 8m58s
Test / Flake checks (push) Successful in 1m8s
Signed-off-by: Ophestra <cat@gensokyo.uk>
29 lines
627 B
Go
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.22.0";
|
|
source = remoteGitHubRelease {
|
|
suffix = "rockdaboot/libpsl";
|
|
tag = version;
|
|
name = "libpsl-"+version+".tar.gz";
|
|
checksum = "sYrq75kNAJvU5gA2gv2tFYIFbFFit6PuYuW1tYSgcsJsIUzwMJTodofsaEGq3iGf";
|
|
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,
|
|
];
|
|
}
|