package libinput {
	description = "input device management and event handling library";
	website = "https://www.freedesktop.org/wiki/Software/libinput";
	anitya = 5781;

	version# = "1.31.3";
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org";
		suffix = "libinput/libinput";
		ref = version;
		checksum = "GxBGPN6YybQxrD2MDsIL8gdDYImXn4NAJi6EvTx_Hb_1jcbjwCrjeyjY2upUyTMi";
	};

	bin = [ "bash" ];
	exec = meson {
		setup = {
			"Dmtdev": "false";
			"Dlibwacom": "false";
			"Ddebug-gui": "false";
		};
	};

	inputs = [
		bash,
		diffutils,
		python-pytest,

		libudev-zero,
		libevdev,
		kernel-headers,
	];

	runtime = [
		libudev-zero,
		libevdev,
	];
}
