aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/libpsl.az
blob: e1dafb09c3987b7592bf533218f0798930f2dd5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package libpsl {
	description = "provides functions to work with the Mozilla Public Suffix List";
	website = "https://rockdaboot.github.io/libpsl";
	anitya = 7305;

	version# = "0.23.2";
	source = remoteGitHubRelease {
		suffix = "rockdaboot/libpsl";
		tag = version;
		name = "libpsl-"+version+".tar.gz";
		checksum = "-XIKaQK0QoyzXpwezyvGzDdIBCUTqPyd8jU6axIusrnma-qsYxhLUO1Oycwcelr2";
		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 = [
		pkgconf,
		python,
	];
}