package seatd {
	description = "seat management daemon and library";
	website = "https://sr.ht/~kennylevinsen/seatd";
	anitya = 234932;

	version# = "0.9.3";
	source = remoteTar {
		url = "https://git.sr.ht/~kennylevinsen/seatd/archive/"+version+".tar.gz";
		checksum = "nKib7dZgUPJFr1EOF0OYElhzpFdgFPJiroAb3TScAJIAlr4p2NV1ZdS6erNA7Jwi";
		compress = gzip;
	};

	env = [
		// ../../usr/src/seatd/common/connection.c:154:55
		"CFLAGS=-Wno-sign-compare",
	];

	exec = meson {
		setup = {
			"libseat-logind": "disabled";
			"libseat-seatd": "enabled";
			"libseat-builtin": "enabled";
		};
	};

	inputs = [ kernel-headers ];
}
