package libseccomp {
	description = "an interface to the Linux Kernel's syscall filtering mechanism";
	website = "https://github.com/seccomp/libseccomp";
	anitya = 13823;

	version* = "2.6.0";
	source = remoteGitHubRelease {
		suffix = "seccomp/libseccomp";
		tag = "v"+version;
		name = "libseccomp-"+version+".tar.gz";
		checksum = "mMu-iR71guPjFbb31u-YexBaanKE_nYPjPux-vuBiPfS_0kbwJdfCGlkofaUm-EY";
		compress = gzip;
	};
	patches = [ "fix-export-oob-read.patch" ];

	early = "\nln -s ../system/bin/bash /bin/\n";

	exec = make {};

	inputs = [
		bash,
		diffutils,
		gperf,

		kernel-headers,
	];
}
