package fontconfig {
	description = "font configuration and customization library";
	website = "https://www.freedesktop.org/wiki/Software/fontconfig";
	anitya = 827;

	version# = "2.18.3";
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org";
		suffix = "fontconfig/fontconfig";
		ref = version;
		checksum = "ZZzmt8fYh-3jKJ6vHXUDbeAWM2ilRusWxdynLt3Z4E_CQQ8cCwzpuAWACXmr9qHI";
	};

	exec = make {
		generate = "NOCONFIGURE=1 ./autogen.sh";
	};

	inputs = [
		automake,
		libtool,
		pkg-config,
		gettext,
		gperf,
		gzip,
		python,

		zlib,
		libexpat,
		freetype,
	];

	runtime = [
		zlib,
		libexpat,
		freetype,
	];
}
