0ed0d8abde
Test / Create distribution (push) Successful in 54s
Test / Sandbox (push) Successful in 3m8s
Test / Hakurei (push) Successful in 4m30s
Test / ShareFS (push) Successful in 4m31s
Test / Sandbox (race detector) (push) Successful in 6m23s
Test / Hakurei (race detector) (push) Successful in 7m48s
Test / Flake checks (push) Successful in 1m9s
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.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,
|
|
];
|
|
}
|