package p11-kit {
	description = "provides a way to load and enumerate PKCS#11 modules";
	website = "https://p11-glue.freedesktop.org/p11-kit.html";
	anitya = 2582;

	version# = "0.26.2";
	source = remoteGit {
		url = "https://github.com/p11-glue/p11-kit.git";
		tag = version;
		checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N";
	};

	exec = meson {
		setup = {
			"Dsystemd": "disabled";
			"Dlibffi": "enabled";
		};
	};

	inputs = [
		coreutils,
		diffutils,

		libtasn1,
	];

	runtime = [
		libffi,
		libtasn1,
	];
}
