package xkbcommon {
	description = "a library implementing the XKB specification for handling keyboard descriptions";
	website = "https://xkbcommon.org";
	anitya = 1780;
	latest = anityaFallback;

	version# = "1.13.2";
	source = remoteGitHub {
		suffix = "xkbcommon/libxkbcommon";
		tag = "xkbcommon-"+version;
		checksum = "0G094HbOwXkSaqZtp6jfyk2noJZI7j_Ohsw9L87AKO8gsv8EGGlPhuRG9hVCF9lT";
	};

	env = [
		"HOME=/proc/nonexistent",
	];

	exec = meson {
		setup = {
			"enable-x11": "false";
		};
	};

	inputs = [
		m4,
		bison,

		libxml2,
		wayland,
		wayland-protocols,
		xkeyboard-config,
	];

	runtime = [
		libxml2,
		wayland,
		wayland-protocols,
		xkeyboard-config,
	];
}
